Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Want to Enable Select (Read 2420 times)
alukes
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 61
Joined: Jul 1st, 2011
Want to Enable Select
Aug 6th, 2015 at 9:14pm
Print Post  
I am using drag and drop to add nodes. Also I need to drag from node to node to create a link.

When I am on a blank part of a diagram I want to be able select multiple nodes by creating a selection box. Instead when I press the mouse button and move the mouse, a solid box is drawn.


I tried these commands:
var DrawLinks = MindFusion.Diagramming.DrawLinks;
diagram.setBehavior(DrawLinks);

which I believe is the default behavior.


How do I change that behavior? Thanks
« Last Edit: Aug 6th, 2015 at 10:24pm by alukes »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Want to Enable Select
Reply #1 - Aug 7th, 2015 at 8:02am
Print Post  
Try this:

Code
Select All
var Behavior = MindFusion.Diagramming.Behavior;
diagram.setBehavior(Behavior.DrawLinks); 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
alukes
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 61
Joined: Jul 1st, 2011
Re: Want to Enable Select
Reply #2 - Aug 7th, 2015 at 11:30am
Print Post  
That worked. Thanks!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint