Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 125
Registered: ‎06-19-2012
My Device: PlayBook + Red Z10 + BB10 Dev Alpha C
My Carrier: none

z-order of Views

How to change the z-order of subviews?

Retired
Posts: 138
Registered: ‎05-11-2012
My Device: Developer
My Carrier: Developer

Re: z-order of Views

If you check out the following link it should give you the information that you are looking for.

 

https://developer.blackberry.com/cascades/reference/bb__cascades__foreignwindow.html

 

Specifically the code section on screen_set_window_property_iv

 

Regards

Graham

Developer
Posts: 125
Registered: ‎06-19-2012
My Device: PlayBook + Red Z10 + BB10 Dev Alpha C
My Carrier: none

Re: z-order of Views

It looks like this works only on windows. I have a chess board where the pieces are ImageView-s, and before a piece moves it should be placed at the top of the view stack. Without that, the moving piece will move over some pieces, but slide under others.

Highlighted
Developer
Posts: 154
Registered: ‎02-01-2009
My Device: Torch, PlayBook and Dev Alpha
My Carrier: SFR

Re: z-order of Views

I have the same question...

 

How control the z-order for Container, Object....

 

It's boring to use the order definittion.... I prefer an option z-order as ....

 

Container {

  z: 1000

}

 

Nicolas

 

Developer
Posts: 125
Registered: ‎06-19-2012
My Device: PlayBook + Red Z10 + BB10 Dev Alpha C
My Carrier: none

Re: z-order of Views

I will create a feature request if this is not part of beta 6.