Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to select diagram's controlNode? (Read 3546 times)
Taivan
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Jun 15th, 2012
How to select diagram's controlNode?
Jul 4th, 2012 at 4:04am
Print Post  
i have a diagram too many control node. I created control node add controlnodes list. if i click one node of nodelist select my control node?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to select diagram's controlNode?
Reply #1 - Jul 4th, 2012 at 7:19am
Print Post  
If you are asking how to select a node programmatically in response to click in a list, you can do that by setting the node's Selected property when the corresponding list item is clicked. In order to also deselect previously selected items, call the diagram.Selection.Change() method.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Taivan
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Jun 15th, 2012
Re: How to select diagram's controlNode?
Reply #2 - Jul 4th, 2012 at 9:27am
Print Post  
Stoyo wrote on Jul 4th, 2012 at 7:19am:
If you are asking how to select a node programmatically in response to click in a list, you can do that by setting the node's Selected property when the corresponding list item is clicked. In order to also deselect previously selected items, call the diagram.Selection.Change() method.

I hope that helps,
Stoyan


WOW Thanks Stoyan GOOD JOB Cheesy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint