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

TcxDataFindCriteria.GetNextMatchIndex Method

Returns the match index of the nearest record whose row index is greater than the focused record’s row index.

#Declaration

Delphi
function GetNextMatchIndex: Integer;

#Returns

Type
Integer

#Remarks

The function returns the match index of the nearest record whose row index is greater than the focused record’s row index. If there are no search results or the focused record’s row index exceeds the highest row index among all search results, the GetNextMatchIndex function returns -1 instead of a match index. In this case, the Find Panel of the associated container control disables the Next button.

Note

The GoToNextMatch function calls the GetNextMatchIndex function internally to identify if it should move focus from the current position and where to.

See Also