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
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