Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Inserting pointcontrol into the right place   (Read 1030 times)
qqterry123
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Jul 16th, 2006
Inserting pointcontrol into the right place  
Jul 16th, 2006 at 7:54am
Print Post  
here is the situation i am facing: when i created arrow between 2 nodes and i want to create a pointcontrol when the user clicked on the arrow that is between 2 controlpoints how do it find out the index position of these 2 pointcontrols in the arrow.pointcontrols property, so i can insert the new pointcontrol into the correct index in the arrow.pointcontrols property?

Or there are another approach to achieve this?

Thanks alot in advance
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Inserting pointcontrol into the right place  
Reply #1 - Jul 17th, 2006 at 6:41am
Print Post  
Hi,

One of the overloaded GetArrowAt methods returns the segment index through a 'ref' parameter.

You might set AllowSplitArrows = true to let users insert new control points by clicking and dragging segment points.

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