Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic CustomBehavior - How to make this happen? (Read 2922 times)
mikeaerni
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Apr 30th, 2007
CustomBehavior - How to make this happen?
May 1st, 2008 at 8:37pm
Print Post  
While the diagram is read-only (Behavior = DoNothing), I want to allow multi-select of ShapeNodes via rubber rectangle or ctrl-click. I'm trying create a CustomBehavior, but I'm not sure how to make it happen. Please help...
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: CustomBehavior - How to make this happen?
Reply #1 - May 2nd, 2008 at 8:47am
Print Post  
Use the Modify behavior, and set EnabledHandles = None for all nodes. This will let you select nodes, but not move them.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
mikeaerni
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Apr 30th, 2007
Re: CustomBehavior - How to make this happen?
Reply #2 - May 2nd, 2008 at 8:50pm
Print Post  
I tried that, and it does get me closer -- it allows user to select multiple nodes via rubber rectangle. However, user cannot ctrl-click to select multiple nodes.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: CustomBehavior - How to make this happen?
Reply #3 - May 4th, 2008 at 7:37am
Print Post  
That depends on the value of DiagramView.ModifierKeyActions.Control. Set it to Select and ctrl-click should work fine.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
mikeaerni
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Apr 30th, 2007
Re: CustomBehavior - How to make this happen?
Reply #4 - May 5th, 2008 at 9:22pm
Print Post  
I am a total dumb-a$$.   I was catching the MouseDown to manually select the nodes -- I had to do that because originally I set the Chart Behaviour to DoNothing.  Problem solved.  Thanks!!!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: CustomBehavior - How to make this happen?
Reply #5 - May 6th, 2008 at 7:54am
Print Post  
8)
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint