Hi all,
Can anyone tell me how to dis/enable the Back/Next buttons of the wxWizard? I want to disable the Next button until a wxTextCtrl has some text in it and I'm stuck!
Thanks!
Martin
Hi all,
Can anyone tell me how to dis/enable the Back/Next buttons of the wxWizard? I want to disable the Next button until a wxTextCtrl has some text in it and I'm stuck!
Thanks!
Martin
Martin Krueger wrote:
Hi all,
Can anyone tell me how to dis/enable the Back/Next buttons of the wxWizard? I want to disable the Next button until a wxTextCtrl has some text in it and I'm stuck!
Use wizard.FindWindowByID(wxID_FORWARD) to get the button and then call its Disable method.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!