Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Issues with Node Zindex manipulation (Read 2728 times)
egreen
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Aug 21st, 2008
Issues with Node Zindex manipulation
Apr 21st, 2009 at 4:48pm
Print Post  
Hi,

I have a "special" node for which i am setting the Zindex to 0 (let's call it 0-node) such that it will appear behind all the "regular" nodes and links in the diagram. So far so good. There are 2 issues though:

1. The shadows of the "regular" nodes (i.e. with Zindex>0) disappear behind the 0-node.

2. If a link is completely within the boundaries of the 0-node, then the link cannot be selected, even when i cancel the NodeSelected event. It appears as if the 0-node may be capturing the mouse-click event before the link, even though this doesn't make since considering it has the lowest Zindex.

Any help would be appreciated.
Thanks!

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Issues with Node Zindex manipulation
Reply #1 - Apr 21st, 2009 at 6:06pm
Print Post  
Hi,

Assuming you are using Flowchart.NET, set Diagram.ShadowsStyle = ZOrder, and Diagram.HitTestPriority = ZOrder.

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


I love YaBB 1G - SP1!

Posts: 11
Joined: Aug 21st, 2008
Re: Issues with Node Zindex manipulation
Reply #2 - Apr 22nd, 2009 at 12:44pm
Print Post  
Thanks! Exactly what I needed.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint