TTMSFNCDataGridRenderer.Lookup Method
Searches all columns for the first cell whose text starts with
AValue. IfAAutoGotois True, navigates to the found cell.
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridRenderer
Syntax
function Lookup(AValue: string; AAllRows: Boolean = False; AAutoGoto: Boolean = False): TTMSFNCDataGridCellCoord;
Parameters
| Name | Description |
|---|---|
AValue |
Text prefix to search for. |
AAllRows |
When True, searches all rows; when False, limits the search to the visible/page scope. |
AAutoGoto |
When True, moves the focused cell to the match. |
Returns
The coordinate of the first match, or an invalid coordinate when no match is found.