FindText
Get index of a first row matching Text
string, starting from StartRow
.
pas
function FindText(Cols: array of Integer; Text: WideString; StartRow, EndRow: Integer; Options: TNxSearchOptions; MatchingOptions: TNxSearchMatchingOptions = moContain): Integer;
Parameters
Cols
Text
StartRow
EndRow
Options
MatchingOptions
Example
pas
var FoundRowIndex := NextGrid61.FindText([0, 5], 'extra', 0, NextGrid61.RowCount - 1, [soCaseSensitive], moBeginWith);
After the method is called, found row index is stored into
LastFoundRow
property.