Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic a small problem about diagramView (Read 1739 times)
webdev
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 10
Joined: Nov 8th, 2012
a small problem about diagramView
Nov 28th, 2012 at 1:24pm
Print Post  
when i layout mousedown-drag-mouseup on the diagramView , a new rectangle will be created. how to stop it? any properties?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: a small problem about diagramView
Reply #1 - Nov 28th, 2012 at 2:14pm
Print Post  
Change the DiagramView.Behavior property. Its default value LinkShapes lets you draw new ShapeNode and DiagramLink objects. You could set Behavior = DrawLinks to allow only drawing new links, e.g. if nodes will be created via drag and drop. Other values you might try are Modify to allow only selecting and moving items, or DoNothing if you need to show a read-only diagram.

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