positioning panels within a frame

I have created a frame in which I have added a number of panels, but I want some of the panels overlap. Is there function that allows me to specify which panel should be on top versus the bottom? I will be hiding and unhiding some of the panels and I find that even if they look right when the frame first loads, if I hide a panel and then unhide it, it comes in under the panel that is was once on top of. How can I fix this?

Kim Swinth
Research Scientist
Anacapa Sciences
Santa Barbara, CA

Kimberly Swinth wrote:

I have created a frame in which I have added a number of panels, but
I want some of the panels overlap. Is there function that allows me
to specify which panel should be on top versus the bottom? I will be
hiding and unhiding some of the panels and I find that even if they
look right when the frame first loads, if I hide a panel and then
unhide it, it comes in under the panel that is was once on top of.
How can I fix this?

Try calling panel.Raise()

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!