ShowObjWizardPages

InstallShield 2019 » InstallScript Language Reference

Project • This information applies to InstallScript projects.

The ShowObjWizardPages function is called in a project’s UI event handler to execute each included object’s corresponding UI event handler. For example, calling ShowObjWizardPages in a project’s OnFirstUIBefore event handler executes each included object’s OnFirstUIBefore code.

Syntax

ShowObjWizardPages ( nDirection );

Parameters

ShowObjWizardPages Parameters

Parameter

Description

nDirection

Pass one of the following predefined constants to indicate the measurement unit:

NEXT—Specifies the following:

The first UI event handler called is that of the object listed first in the project's Components pane, then that of the object listed second, and so on.

The WizardDirection function, when called in an object's UI event handler, returns the value NEXT.

BACK—Specifies the following:

The first UI event handler called is that of the object listed last in the project's Components pane, then that of the object listed next to last, and so on.

The WizardDirection function, when called in an object's UI event handler, returns the value BACK.

Return Values

The value returned by the most recently executed object UI event handler.

Additional Information

The objects’ dialogs are displayed in one of two possible orders, depending on the value of nDirection. For greater control over the order in which the objects’ dialogs are displayed, call the objects’ ShowxxxxxUIyyyyy methods. For more information on object UI event handlers, see Creating the Object's Run-Time User Interface.