[wxPython-users] Disabling next, back, next, or cancel button in wx.wizard

Robin Dunn robin at alldunn.com
Sat Jul 1 11:43:59 PDT 2006


Kihwang Lee wrote:
> Hi?
> 
> How can I disable (gray-out) the next, back or cancel button in wx.wizard?
> 
> http://www.wxwidgets.org/wiki/index.php/WxWizard gives an answer that
> goes like FindWindow(wxID_FORWARD)->Disable(). However, I could not
> figure out how to get this done in Python.

	wizard.FindWindowById(wx.ID_FORWARD).Disable()


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





More information about the wxpython-users mailing list