panel in front
-
Can you script which panel you want in front on others?
I have 12 panels, I know you can setZLevel if they all are inside another panel but this is 12 panels without parents.
Just like when you click with the mouse on one, it will come up front. -
@ulrik so why don't you place them in a parent?
-
@ustk yes that could be done, I just wanted to know if it was possible without?
-
@ulrik no this isn't possible
-
@ustk thanks!
-
@ulrik How does the ZLevel work exactly?
I have a few panels on a panel:
When I use:
// move to front and allow keyboard input when clicked if (event.clicked) { this.setZLevel("Front"); this.grabFocus(); }
It will move a panel to the front, but only once.
Once I have clicked on all three panels I have here,
they just stay in that ZLevel order and never change subsequently:I must be missing some aspect of the feature.
-
@VirtualVirgin .loseFocus?