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.GetPreviousMatchIndex Method

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

#Declaration

Delphi
function GetPreviousMatchIndex: Integer;

#Returns

Type
Integer

#Remarks

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

Note

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

See Also