Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Validate all ZIndex (Read 1647 times)
yrauma
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 61
Joined: Mar 28th, 2010
Validate all ZIndex
Dec 1st, 2010 at 3:29pm
Print Post  
Hello Stoyan.

I improved a lot mu rearranged with embeded containers.

One of my last issue are the ZIndex. Often after a rearrage, my containers are not visible because they are drawn behind the container that content it.

Is there a way to reset all Z for the whole diagram ? like an algo that pass through all nodes and set the ZIndex to the correct value ? or should I do it myself ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Validate all ZIndex
Reply #1 - Dec 1st, 2010 at 4:22pm
Print Post  
Hello Amaury,

The layout classes do not change ZIndex. Are you perhaps removing and adding containers during the recursive calls? Anyway if you call container.ZBottom() for the currently arranged container before returning from the recursive method, the Z order should be ok. Thus any child containers would be brought to the back before their parent container is, and so they should appear above it once the outermost method exits.

Stoyan
  
Back to top
 
IP Logged
 
yrauma
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 61
Joined: Mar 28th, 2010
Re: Validate all ZIndex
Reply #2 - Dec 1st, 2010 at 6:35pm
Print Post  
One more time,
thanks again Stoyan.

Works perfectly. I dont know the Z changed, I dont do anyhing regarding that in my code.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint