There is sometimes a need to give the user some option about some action when the Wizard starts. The WizardEngine provides a method InitCheckBox for this purpose. It takes three parameters:
• Value the initial value for the checkbox, and the returned value
• Message the message/label attached to the checkbox
• Enable if True, then the checkbox is displayed.
This method should only be called from the initial state (it will be disabled otherwise).
Init [
{ Initial step }
Engine\InitCheckBox(tellme, "Tell me about alternatives to this Wizard",
Valid(tellme));
If Move;
[
ForceState(NextState);
IfThen(Move ==
Forward,
.. .. ..