Developer

LastFoundRow

Gets row index found by FindText and FindTextByRow methods. If there is no row found, value is -1.

property LastFoundRow: Integer read FLastFoundRow;

Example:


if NextGrid1.FindText(NxTextColumn1.Index, Edit1.Text, [soCaseInsensitive]) then begin ShowMessage('Index of row: ' + IntToStr(NextGrid1.LastFoundRow)); end;

See also