Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to disable drawing node with mouse? (Read 1605 times)
padmavathi
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: Jun 29th, 2010
How to disable drawing node with mouse?
Jun 29th, 2010 at 8:51am
Print Post  
Hi

In the current source code given for DiagramLite, in each and every example, when we click on the mouse, its drawing a node(typically a rectangle) onto the screen automatically?
If I don't need this feature, how can I avoid this feature in the code?


Thanks&Regards
Padma
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to disable drawing node with mouse?
Reply #1 - Jun 29th, 2010 at 9:14am
Print Post  
Hi,

Set the Behavior property to DrawLinks to allow drawing links between existing nodes; set it to Modify to only allow selecting and moving items; or set DoNothing to disable any interaction, e.g. if you only need to detect click events on existing objects.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint