Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ZOrder for attached node (Read 1113 times)
shalex
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Jan 14th, 2010
ZOrder for attached node
Mar 13th, 2010 at 1:27pm
Print Post  
I have following code:
[code]            satelliteNode.Constraints.KeepRatio = true;
           satelliteNode.HandlesStyle = HandlesStyle.Invisible;
           satelliteNode.EnabledHandles = AdjustmentHandles.None;

           satelliteNode.AttachTo(mainNode, AttachToNode.TopLeft);
           satelliteNode.Locked = true;
           mainNode.ZLevelUp();
           mainNode.SubordinateGroup.AutoDeleteItems = true;
[/code]

The attached node should be always behind the main node, but if I select the main node, the attached appears as top most. How to avoid that?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ZOrder for attached node
Reply #1 - Mar 14th, 2010 at 10:24am
Print Post  
Set diagram.SortGroupsByZ = true;

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