Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Selection behavior without Modify (Read 1881 times)
nsandhu
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Aug 22nd, 2011
Selection behavior without Modify
Aug 26th, 2011 at 4:59pm
Print Post  
Is there a Behavior mode that allows selection but not modification? or if not does someone have a sample on how to implement a CustomBehavior doing selection only for DiagramItem(s)?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Selection behavior without Modify
Reply #1 - Aug 26th, 2011 at 5:11pm
Print Post  
You could use the Modify behavior and call args.cancel() from the nodeModifying and linkModifying event handlers.

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