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

TcxPageControlProperties.FindNextPage(TcxTabSheet,Boolean,Boolean,Boolean) Method

Returns the page located before or after the specified page.

#Declaration

Delphi
function FindNextPage(ACurrentPage: TcxTabSheet; AGoForward: Boolean; ACheckTabAccessibility: Boolean; ACircular: Boolean): TcxTabSheet;

#Parameters

Name Type
ACurrentPage TcxTabSheet
AGoForward Boolean
ACheckTabAccessibility Boolean
ACircular Boolean

#Returns

Type
TcxTabSheet

#Remarks

Use the FindNextPage method to obtain the TcxTabSheet object representing the page located before or after the specified page.

ACurrentPage specifies the starting page.

If AGoForward is True, the next page after ACurrentPage is returned. Otherwise the FindNextPage method returns the previous page.

Set ACheckTabVisible to True to ignore invisible pages, when searching.

ACircular specifies whether cycling between the outermost pages is allowed. If ACircular is True, when the method reaches the last page when searching forward (AGoForward is True), the search continues from the first page; the method searches from the last page, when navigating backward. If ACircular is False, the search stops when reaching these pages.

If the page control has no pages or all the pages are invisible, the FindNextPage method returns nil.

See Also