[wxPython] Overlaying two controls on a sizer

Is it possible to overlay two controls on a sizer (say a listbox and a HTML
control) and make the html control invisible till needed. They must both be
identical sizes and x-y co-ordinates.

thanks

Is it possible to overlay two controls on a sizer (say a listbox and a

HTML

control) and make the html control invisible till needed. They must both

be

identical sizes and x-y co-ordinates.

Put them both on a wxPanel and add the panel to the sizer. Then use
Show/Hide to make the one you want visible. You'll also need to give the
panel an EVT_SIZE handler that will keep it's childre sized and positioned
to be the same as the panel.

ยทยทยท

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