WizardStepDeactivated

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.

SalNumber WizardStepDeactivated( SalString sStep )

The WizardStepDeactivated hook method is called by the framework when just after a step has been deactivated. Application should override this method to perform task upon deactivation of a step.

Parameters

Name Description
SalString sStep Name of the step just deactivated.

Returns

This method does not return a value

Comments

A typical task to perform on deactivation of a step would be to write all current values to some data buffer in the wizard dialog. This is so that the wizard dialog will have access to all values entered by the user when the Finish operation is executed.

For steps that use external windows it is usually better to override the FrameDeactivate method in the external window to perform deactivation tasks.

Example

add C# coding sample.

Function: WizardStepDeactivated
   Actions
       ! Save entered values for later use
       Call MsgData.SetAttribute( 'LOCAL_PRINTER', PalBooleanToStr( rbLocalPrinter ) )
       Call MsgData.SetAttribute( 'PRINTER_NAME', dfPrinterName )