WizardAddStep

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean WizardAddStep(SalArray<SalString> sControls,
SalBoolean bInternal,
SalString sStep,
SalString sPicture,
SalString sTitle)

The WizardAddStep method adds a step into the wizard at runtime.

Parameters

Name Description
SalArray<SalString> sControls When bInternal is TRUE this parameter should contain an array with the object names of the internal controls to associate with the step. When bInternal is FALSE the first entry in the Controls array should contain the object name of the window to associate with the step.
SalBoolean bInternal Specify TRUE to associate internal controls with the step, FALSE to associate an external window.
SalString sStep Name of the new step. This name can later be used to refer to this step.
SalString sPicture Name of the picture resource containing the picture to show with this step. Specify STRING_Null to indicate that no picture is associated with this step.
SalString sTitle Title that will be shown in the wizard dialog when this step is active. The title must be a translatable constant.

Returns

The return value is TRUE if the step was successfully added, FALSE otherwise.

Comments

The new step is always added to the end of the list of steps.