There is sometimes a need to give the user options for actions to perform when the Wizard completes. The WizardEngine provides a method named, "FinalCheckBox" for this purpose. It takes the following 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 "Finish" state; it will otherwise be disabled.
Finish [
{ Final Step
}
Engine\FinalCheckbox(RunNow, "Run the report when
the wizard finishes", Valid(RunNow));
If
Move;
[
ForceState(NextState);
IfThen(Move == Forward,