Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to control the node can not move out Container (Read 2070 times)
mazelin
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jun 8th, 2009
How to control the node can not move out Container
Jun 10th, 2009 at 3:19am
Print Post  
Thanks!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to control the node can not move out Conta
Reply #1 - Jun 10th, 2009 at 12:49pm
Print Post  
We'll add some property for this tomorrow.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to control the node can not move out Conta
Reply #2 - Jun 11th, 2009 at 11:55am
Print Post  
https://mindfusion.eu/_beta/diaglite104.zip

With this version you can set the following property and the user won't be able to move a child node out of its container:

node.Constraints.KeepInsideParent = true;

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