Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic arrow instance unavailable in ValidateAnchorPoint (Read 2366 times)
azany1
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 18
Joined: Jun 14th, 2006
arrow instance unavailable in ValidateAnchorPoint
Aug 15th, 2006 at 1:56am
Print Post  
When dragging one endpoint of an arrow instance, my ValidateAnchorPoint handler is called, but args.Arrow seems to always be null.

Is there something I'm not setting up properly?

Thanks,
-lipp
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: arrow instance unavailable in ValidateAnchorPo
Reply #1 - Aug 15th, 2006 at 5:26am
Print Post  
You can ignore the event when args.Arrow is null. The control raises that event once for each anchor point in a node without specifying an arrow, in order to determine whether the node accepts any arrows at all. After that the event is raised again for the arrow that the user draws at that time.

Stoyan
  
Back to top
 
IP Logged
 
azany1
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 18
Joined: Jun 14th, 2006
Re: arrow instance unavailable in ValidateAnchorPo
Reply #2 - Aug 16th, 2006 at 5:02pm
Print Post  
Ahh...thank you.

As a related point, the documentation for AttachConfirmArgs doesn't mention the "Node" field.  What is that for?

Thanks again,
-lipp
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: arrow instance unavailable in ValidateAnchorPo
Reply #3 - Aug 17th, 2006 at 6:10am
Print Post  
Node is the same node as either Origin or Destination, depending on which end of the arrow is being moved.

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