Back to Devexpress

TdxCustomWizardControl.GetNextPage(TdxWizardControlCustomPage,Boolean) Method

vcl-dxcustomwizardcontrol-dot-tdxcustomwizardcontrol-dot-getnextpage-x28-dxcustomwizardcontrol-dot-tdxwizardcontrolcustompage-system-dot-boolean-x29.md

latest2.2 KB
Original Source

TdxCustomWizardControl.GetNextPage(TdxWizardControlCustomPage,Boolean) Method

Returns the wizard page that is accessible for navigation with the Next or Back button from a specified page.

Declaration

delphi
function GetNextPage(ACurrentPage: TdxWizardControlCustomPage; ASearchForward: Boolean): TdxWizardControlCustomPage;

Parameters

NameType
ACurrentPageTdxWizardControlCustomPage
ASearchForwardBoolean

Returns

Type
TdxWizardControlCustomPage

Remarks

The GetNextPage , CanGoToNextPage, and CanGoToPrevPage functions allow you to learn about the flow of pages displayed by the wizard control and determine which page can be activated next using navigation buttons (Next or Back).

The GetNextPage function searches the Pages collection for the first page whose PageVisible property is set to True , starting from the ACurrentPage. Pass True or False as the ASearchForward parameter to search the page collection forward or backward. If a page is found, the GetNextPage function returns it; otherwise – nil.

See Also

TdxCustomWizardControl.GoToNextPage

TdxCustomWizardControl.GoToPrevPage

TdxCustomWizardControl Class

TdxCustomWizardControl Members

dxCustomWizardControl Unit