PDA

View Full Version : clipcontent and z-order


ercol
03-16-2009, 04:13 PM
I have my special control followed by several other controls in a vbox.

My special control consists of a button and a hidden datagrid. when the button is pressed, the datagrid appears. I want the datagrid to extend beyond the bottom boundary of the control, on top of the other controls beneath.

I have set clipcontent to false and whilst the datagrid extends correctly, it is below all the other controls in the vbox.

From what I have read, z-order is based on creation order, but I cannot switch the order because my special control must appear at the top of the page.

is there anything I can do to fix this?

Peter Cowling
03-16-2009, 09:45 PM
Use Canvas instead of Vbox, and you have the options you need.