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

TcxPageControl.FindNextPage(TcxTabSheet,Boolean,Boolean) Method

Returns the page located before or after the specified page.

#Declaration

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

#Parameters

Name Type
ACurrentPage TcxTabSheet
AGoForward Boolean
ACheckTabAccessibility Boolean

#Returns

Type
TcxTabSheet

#Remarks

Use the FindNextPage method to obtain the TcxTabSheet object representing the page located before or after the specified page. The page starting page is specified via the CurrentPage parameter. If the GoForward parameter value is True, the next page after that specified is returned. Otherwise the FindNextPage method returns the previous page. Set the CheckTabVisible parameter to True to ignore invisible pages when searching.

If the page control has no pages or all the pages are invisible, the FindNextPage method returns nil. If the method reaches the last page when searching forward, the search is started from the first page and vice versa.

See Also