Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic BoxCreated not raised (Read 1397 times)
Peter
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 24
Joined: Nov 14th, 2005
BoxCreated not raised
Aug 23rd, 2006 at 3:11am
Print Post  
It seems that the BoxCreated event does not get raised when the flowchart's method CreateBox is used to make a new chart element. The event gets raised when a box is created interractively. Is this a feature or a bug, or am I doing something wrong?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: BoxCreated not raised
Reply #1 - Aug 23rd, 2006 at 5:23am
Print Post  
Most of the events are raised only after user actions. If you need to execute the same code for boxes created interactively or through the API, move the shared code to a separate method and call that method after calling CreateBox and from the BoxCreated handler.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint