f rom wrote:
Thanks for your answer but it is not really what I was looking for.
I need to dynamically add and delete controls from a gridbagsizer.
The adding part I already know but I did not find a "Delete" function
for controls in a gridbagsizer. And that is my problem, without
ability to delete I cannot properly add a different control to that
row/col in the gridbagsizer. A notebook is too general, it should be
in the same dialog screen. The users do not want to switch tabs or
anything.
You're probably looking for the sizer Detach method. It removes an item from being managed by the sizer, but does not destroy it.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!