Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Disable resizing (Read 1689 times)
Denis_Vuyka
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Mar 23rd, 2010
Disable resizing
Mar 26th, 2010 at 3:09pm
Print Post  
I need to allow only selection of the node without resizing. I've tried "DoNothing" behavior but it does not allow selecting the node clicked.

Any ideas how to accomplish my task?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Disable resizing
Reply #1 - Mar 26th, 2010 at 3:45pm
Print Post  
Try setting the nodes' EnabledHandles property to None.
  
Back to top
 
IP Logged
 
Denis_Vuyka
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Mar 23rd, 2010
Re: Disable resizing
Reply #2 - Mar 26th, 2010 at 3:56pm
Print Post  
Thanks that works. However I see all handles painted red. Is there an option just to display selection border without handles?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Disable resizing
Reply #3 - Mar 26th, 2010 at 4:17pm
Print Post  
You could also change the HandlesStyle property, e.g. set node.HandlesStyle = HandlesStyle.DashFrame; Alternatively, instead of using these properties you might handle the NodeModifying event and call e.CancelDrag().
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint