Morning,
In the tutorial documentation for the stack panes it says, "Components with a higher z-index (position within the stack pane) are painted on top of components with a lower z-index." Is there a simple way to get and set the z position of elements inside a stack pane outside of the order in which they are painted? For example, if I were to loop through an array of items to draw (specifically Rectangles in this case) that may or may not be ordered in the array, and I want element 2 to end up on top of element 3...is there a way to do this outside of repainting element 2 after all the objects have been created? Or in a different scenario to loop through the objects inside the pane and retrieve the z-index of each of the elements....though I suppose the sequence is an ordered list, so that is possible already at this point. Thanks, David
