WizardCurrentStepSet

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 WizardCurrentStepSet( SalString sStep )

The WizardCurrentStepSet method activates the requested step.

Parameters

Name Description
SalString sStep Name of the step to activate.

Returns

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

Comments

For internal controls calling WizardCurrentStepSet will cause the controls associated with the step to be shown, and all other controls to be hidden. For external windows, the window associated with the step will be shown.

Example

If bNetworkPrinter
     Call WizardCurrentStepSet( 'CHOOSE_PRINTER' )
C# coding sample.
if (bDisable == true) 
{
	WizardCurrentStepSet("Step2");
	return false;
}