Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic allow selecting boxes, but not moving them (Read 3467 times)
Eric
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Aug 7th, 2005
allow selecting boxes, but not moving them
Aug 18th, 2005 at 2:47pm
Print Post  
Hi,

I would like to let the user select boxes but prevent the boxes to be moved or resized. They should stay where they are, and just raise events when selected. Any suggestions how to do this ? Box.Locked doesn't help since it doesn't allow selecting a box. I could not find an appropraite value for Flowchart.Behavior either ...

TIA
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: allow selecting boxes, but not moving them
Reply #1 - Aug 19th, 2005 at 4:46am
Print Post  
Hi, you can disable modifying boxes through their selection handles, i.e. the ones used for moving and resizing. This can be done by simply setting MnpHandlesMask = 0. The boxes will still be selectable, but users won't be able to move or resize them by dragging the selection handles.

You could also set DisabledMnpColor = SelMnpcolor, so there's no visual difference between disabled and enabled handles.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint