Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Node Click (Read 2294 times)
Shah
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Jan 4th, 2016
Node Click
Feb 3rd, 2016 at 2:47am
Print Post  
Hi, I'm new in mindfusion and a little bit confusion on how to select a node try
Dim node =   diagramview1.Diagram.Factory.CreateSvgNode(bounds)
        node.Transparent = True
        node.Locked = locked

Tru with sshapenode also. Also not working. Am I doing it wrong or am i missing something?

Thanks.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Node Click
Reply #1 - Feb 3rd, 2016 at 7:29am
Print Post  
Hello there,

You cannot select nodes when they are locked, you will have to set Locked to false first. If you need selection to work while preventing end-users from modifying a node, set node.EnabledHandles to None. If you need a kind of read-only mode for whole diagram, set the Behavior property to either DoNothing or SelectOnly.

You can select nodes from code-behind by setting their Selected property, or by calling diagram.Selection methods like Add, Toggle, Change.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Shah
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Jan 4th, 2016
Re: Node Click
Reply #2 - Feb 11th, 2016 at 4:53am
Print Post  
Hi,

Thanks for the reply. Very helpful
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint