Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Node unselect problem (Read 2029 times)
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Node unselect problem
Oct 12th, 2009 at 3:33pm
Print Post  
Hi Stoyan,

If I click on node, it get selected.

If I click again , it still remain selected.

I want behavioure to be, node should get unselected when I click again.

Is there any property provided by MindFusion to do that?

Please suggest for this.


Regards,
Anshul


   

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node unselect problem
Reply #1 - Oct 12th, 2009 at 5:41pm
Print Post  
No, but there is the Ctrl key Roll Eyes
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Node unselect problem
Reply #2 - Oct 12th, 2009 at 6:48pm
Print Post  
Hi Stoyan,

Suppose I have 3 selected nodes. If I press control key and than click on any selected node than instead of unselect the node, it makes that node as active node of the diagram, so use of control key is no use.

I want to perform unselect node while click on selected node again.Please suggest what I could do?
Is there any work around for the same?

Please suggest.

Regards,
Anshul
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node unselect problem
Reply #3 - Oct 12th, 2009 at 7:03pm
Print Post  
To avoid using Ctrl, you can handle the validation NodeSelecting and Deselecting events and set e.Cancel = true, and then from the Clicked event call diagram.Selection.Toggle(e.Node).
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Node unselect problem
Reply #4 - Oct 13th, 2009 at 1:52pm
Print Post  
Thanks Stoyan Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint