Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Arrow.OriginType inside InitializeArrow (Read 2513 times)
Carlos_Rocha
Junior Member
**
Offline


I love Jazz

Posts: 70
Joined: Mar 26th, 2010
Arrow.OriginType inside InitializeArrow
Jul 11th, 2011 at 10:16pm
Print Post  
Hi,

Querying any Arrow.Origin* property inside the event InitializeArrow provoques a big crash in my app. I can't even intercept the exception.

The help states that this event is called just after the arrow has been created, thus (I presume) after setting create=true in RequestCreateArrow, and in the last I don't have problems calling these properties.

I need to set the ArrowBase color and shape depending on it's origin (box or table), and InitializeArrow seems to be the right place to set them. Am I wrong?

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Arrow.OriginType inside InitializeArrow
Reply #1 - Jul 12th, 2011 at 6:24am
Print Post  
Enable EventFlags[fRequestCreateArrowForOrigin] and do that from the RequestCreateArrow handler.
  
Back to top
 
IP Logged
 
Carlos_Rocha
Junior Member
**
Offline


I love Jazz

Posts: 70
Joined: Mar 26th, 2010
Re: Arrow.OriginType inside InitializeArrow
Reply #2 - Jul 12th, 2011 at 12:56pm
Print Post  
I'm already doing that, but is it intended to be this way or is something that will be corrected?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint