[Gambas-devel] Implement Wizard.Refresh()

Tobias Boege taboege at ...176...
Sun Oct 4 21:21:50 CEST 2015


Hi Benoit,

in my current project, I use a (two-step) Wizard where one step contains a
CheckBox that determines if the next step is enabled or not (an optional
preview). The Wizard does not draw itself new (e.g. the "Next" button should
become an "OK" button if the current step suddenly is the last one) auto-
matically if I change the value of Wizard[Index].Enabled.

The attached patch simply puts the (not yet implemented) Wizard.Refresh()
method in charge. The user is expected to call it after making a change to
the enabledness of steps. If you say this is OK, I will commit the changes
myself.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Wizard-Refresh.patch
Type: text/x-diff
Size: 340 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20151004/42c9946b/attachment.patch>


More information about the Devel mailing list