Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic EBehavior.bhDoNothing Problem (Read 1093 times)
zuoyi
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: May 30th, 2006
EBehavior.bhDoNothing Problem
Jul 22nd, 2006 at 6:31am
Print Post  
when i set flowChart1.Behavior = EBehavior.bhDoNothing;
i can't select box,
how to set the box can be select only,no resize,no arrow.
thank you.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3154
Joined: Oct 19th, 2005
Re: EBehavior.bhDoNothing Problem
Reply #1 - Jul 24th, 2006 at 6:13am
Print Post  
It seems you have an older version of the control - there you can set the box.MnpHandlesMask to 256 to allow only moving the box or to 0 to prevent both moving and resizing. Set the Behavior to bhModify to allow only selecting boxes but prevent drawing new items.

If anyone that uses version 4 or newer is interested in this - set box.EnabledHandles to Handles.Move or Handles.None.

HTH
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint