Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ZIndex (Read 1590 times)
nikulin_andrey
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 26
Joined: Dec 1st, 2006
ZIndex
Mar 16th, 2007 at 2:35pm
Print Post  
Hi all,

I have a box box1 and several boxes inside of box1.

I have called box1.ZBottom() and for boxes inside box1 - ZTop() methods. But when I select box1 - it covers boxes inside it.

How to handle it?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ZIndex
Reply #1 - Mar 16th, 2007 at 4:19pm
Print Post  
Hi,

Setting SelectionOnTop = false should help you with that.

Stoyan
  
Back to top
 
IP Logged
 
areddan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Feb 17th, 2009
Re: ZIndex
Reply #2 - Mar 19th, 2009 at 4:41am
Print Post  
On this topic, I have disabled SelectionOnTop, and manually call ZTop when a node is selected (if I don't, when users try to drag the node it just selects whatever has a higher index).

Problem with this is, it doesn't seem to propogate to items attached to the node. I just want to call "ZTop" on the group basically.

Cheers,
Anthony
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ZIndex
Reply #3 - Mar 19th, 2009 at 8:47am
Print Post  
Hi Anthony,

Call ZTop on the node and then on each attached node. You can access the attached nodes using the SubordinateGroup.AttachedNodes collection.

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