Skip to main content

TdxCustomWizardControl.AddPage(TdxWizardControlCustomPageClass) Method

Adds a new page to the wizard.

Declaration

function AddPage(APageClass: TdxWizardControlCustomPageClass): TdxWizardControlCustomPage; overload; virtual;

Parameters

Name Type
APageClass TdxWizardControlCustomPageClass

Returns

Type
TdxWizardControlCustomPage

Remarks

This function creates a new page, appends it to the Pages collection, and returns the page as the function’s result.

In the TdxWizardControl class (a TdxCustomWizardControl descendant), the AddPage method is overloaded to create and return a TdxWizardControlPage instance.

Refer to this section to learn how to manage wizard pages at design time.

See Also