Disabling wxWizard buttons
Fabian Cenedese
Cenedese at indel.ch
Thu Jun 21 08:42:24 PDT 2007
Hi
I plan to use the wxWizard for an application. The single steps may
need quite some time before the user can continue. I know I can
validate and veto the change of a page. But to prevent unnecessary
clicks and messages I'd prefer if I could disable the next button
until the user really can go on.
1. The user knows that it's useless to click next (because it's not
possible anyway).
2. I don't need another control or message to tell the user that he
now can continue if he likes.
Is there a possibility to enable/disable these buttons? I could only
make out private elements. And I don't really like to look for controls
with IDs (wxID_FORWARD) that might change in the future.
Is there a way to simulate this with overriding HasNext() returning false
until the condition is fulfilled?
Thanks
bye Fabi
More information about the wx-users
mailing list