Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Name Type
ACurrentPage TdxWizardControlCustomPage
ASearchForward Boolean

#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