Skip to main content

TcxDataFindCriteria.GetNextMatchIndex Method

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

Declaration

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