WebContainer Z Order?

When you embed objects within a WebContainer is there a notion of stacking and what is on top and what is below?
I have moved an object but I expected it to be the last object drawn and therefore on top.
I found the ZIndex property and I think this is my solution, but I’m not sure…
If I’ve never set this property for any other embedded object how do I know what value of Z is high enough to guarantee ‘top’ most?

Just try. Zindex works for anything displayed on the page.

Setting the Zindex to 1 didn’t help.
I assumed everything else would be 0.
Setting to to 10000 worked… HOWEVER!
It seems that after setting the ZOrder I started to loose mouse enter events on other objects on the control.
That i believe is a bug.

[quote=208902:@Brian O’Brien]Setting the Zindex to 1 didn’t help.
I assumed everything else would be 0.
Setting to to 10000 worked… HOWEVER!
It seems that after setting the ZOrder I started to loose mouse enter events on other objects on the control.
That i believe is a bug.[/quote]

Indeed, MouseEnter becomes unreliable. You should file a bug report.

[quote=208902:@Brian O’Brien]Setting the Zindex to 1 didn’t help.
I assumed everything else would be 0.
Setting to to 10000 worked… HOWEVER!
It seems that after setting the ZOrder I started to loose mouse enter events on other objects on the control.
That i believe is a bug.[/quote]
The mouse events is a bug, but the z-index being non-zero is not. To maintain tab order and z-order, we must set z-index to something.

if you want this level of z-order control, I suggest filing a feature request. In he mean time, you’ll have to keep track of it yourself.