WizardPage.OnPageAccessible

Syntax

Sub OnPageAccessible(Sender: Object; Args: ICancelEventArgs);

Begin

//set of operators;

End Sub OnPageAccessible;

Parameters

Sender - parameter that returns the component that has generated the event.

Args - parameter that enables the user to determine event parameters.

Description

The OnPageAccessible event occurs when the page is checked for accessibility.

Comments

Inaccessible page in the WizardSplash component is highlighted with grey color, and it is prohibited to select this page. Accessibility of the page can be determined using the Allowed property of the event argument.

Example

Executing the example requires a form, the Wizard component with several pages and the WizardSplash component.

Sub WizardPage1OnPageAccessible(Sender: Object; Args: ICancelEventArgs);

Begin

Args.Allowed := False;

End Sub WizardPage1OnPageAccessible;

After executing the example during form startup, all pages, for which this procedure is specified as a handler of the OnPageAccessible event, are highlighted with grey color in the WizardSplash component, and it is prohibited to access them.

See also:

WizardPage