Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Prevent auto arrange of container child nodes (Read 4040 times)
Hicky
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Jul 18th, 2008
Prevent auto arrange of container child nodes
Jul 18th, 2008 at 5:29am
Print Post  
Hello,

I created a container node (foldable) with tree child shape nodes (on different positions) inside. When I fold the container node and move this object to a new position and unfold the container, the child shape nodes were rearranged and have new positions inside the container node.

I have a simple question: How can I prevent the auto rearrange of container child nodes after moving the folded container node on a diagram?

I'm using FlowChart.NET 5.0.3 and VisualStudio 2005 (VB).
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Prevent auto arrange of container child nodes
Reply #1 - Jul 18th, 2008 at 9:39am
Print Post  
Hi,

Perhaps you have some event handler that re-arranges the nodes?

Stoyan
  
Back to top
 
IP Logged
 
Hicky
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Jul 18th, 2008
Re: Prevent auto arrange of container child nodes
Reply #2 - Jul 18th, 2008 at 10:30am
Print Post  
I could create a rearrange function after moving a folded node, but is there no way in FlowChart.NET to prevent this auto rearrange from the child nodes of a container object?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Prevent auto arrange of container child nodes
Reply #3 - Jul 18th, 2008 at 10:35am
Print Post  
What I meant is that Flowchart.NET should not move the contained nodes on its own whim; could you check if by chance some event handler of yours does that?
  
Back to top
 
IP Logged
 
Hicky
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Jul 18th, 2008
Re: Prevent auto arrange of container child nodes
Reply #4 - Jul 21st, 2008 at 5:13am
Print Post  
I haven't some event handlers active which rearrange this nodes! The container node automatically rearrange the shape nodes inside after the folded container were moved over the diagram.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Prevent auto arrange of container child nodes
Reply #5 - Jul 21st, 2008 at 8:37am
Print Post  
Could you call SaveToXml and email the file to support@mindfusion.eu?
  
Back to top
 
IP Logged
 
Hicky
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Jul 18th, 2008
Re: Prevent auto arrange of container child nodes
Reply #6 - Jul 21st, 2008 at 9:08am
Print Post  
Yes, I have sent you an email with attached xml export of my diagram. Thank you for your support.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Prevent auto arrange of container child nodes
Reply #7 - Jul 21st, 2008 at 2:37pm
Print Post  
This happens because of the KeepInsideParent constraint. Apparently the control applies it too strictly - even when a container is folded, so the child nodes are moved to fit the smaller container size. Until our developers fix that, turn the constraint off when a container is folded and enable it again when a container is unfolded.

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


I love YaBB 1G - SP1!

Posts: 5
Joined: Jul 18th, 2008
Re: Prevent auto arrange of container child nodes
Reply #8 - Jul 22nd, 2008 at 8:49am
Print Post  
I tried this workaround in my solution and now the positions of the child nodes are correct. Thank you for your support.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint