i am developing a simple automation program at my place, and decided to use wxpyhton to do it. I have a minor setback, which i hope some learned user could help me out with
I am unsure why the method self.SetActiveChild(pChildFrame) below doesn’t work. My idea is to be able to highlight and choose the right child frames at random. Attached is a working code. Is there anything i am missing?
Thank you for your valuable response
Rgds,
Devendran
Sr.Product Engineer
SSD Division
i am developing a simple automation program at my place, and decided to use wxpyhton to do it. I have a minor setback, which i hope some learned user could help me out with
I am unsure why the method self.SetActiveChild(pChildFrame) below doesn't work. My idea is to be able to highlight and choose the right child frames at random. Attached is a working code. Is there anything i am missing?
In the implementation SetActiveChild doesn't do anything other than set a member variable to indicate the active window. It doesn't change which tab is selected like I would expect it to. Instead of (or maybe in addition to) the SetActiveChild, try calling self.GetClientWindow().SetSelection(num) where num is the page number to be selected.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!