Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Troubles with ZTop() and ZBottom() [SOLVED] (Read 1959 times)
Yur Art
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 6
Joined: Jun 26th, 2013
Troubles with ZTop() and ZBottom() [SOLVED]
Mar 31st, 2014 at 7:53am
Print Post  
Hi!
I use these versions of Mindfusion libraries as references:
MindFusion.Common.dll - 1.3.0.20523
MindFusion.Diagramming.dll - 5.8.0.19076
MindFusion.Diagramming.WinForms.dll - 5.8.0.19078
MindFusion.Graphs.dll - 2.2.0.13651
MindFusion.Scripting.dll - 1.0.0.0
MindFusion.Svg.dll - 1.2.0.26696

I have some kind of a problem with z-order of nodes on my diagram.

I wrote a test application that creates nodes and links between the nodes.
I call ZBottom() method for every link and ZTop() method for every node.
All is ok when nodes are created and linked with links. Links are under nodes, nodes are above links. But when I select a node, it's like all the links have changed their z-order so that they appeared above all elements on the diagram.

How can I get links and nodes z-order preserved when I select a node?

Thank you!
  

2014-03-31_11_42_23-Form1.png (Attachment deleted)
2014-03-31_11_42_35-Form1.png (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Troubles with ZTop() and ZBottom()
Reply #1 - Mar 31st, 2014 at 7:58am
Print Post  
Hi,

Set Diagram.SelectionOnTop = false;

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


I Love MindFusion!

Posts: 6
Joined: Jun 26th, 2013
Re: Troubles with ZTop() and ZBottom()
Reply #2 - Mar 31st, 2014 at 8:46am
Print Post  
Thank you. Works fine now.  Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint