TTMSFNCDataGridData.Find Method
Searches all data cells for AText using default parameters (contains, case-insensitive); returns the first matching cell coordinate, or an invalid cell if not found.
API unit family: TMSFNCDataGridData
Declaring type: TTMSFNCDataGridData
Overloads
Overload 1
Searches all data cells for AText using default parameters (contains, case-insensitive); returns the first matching cell coordinate, or an invalid cell if not found.
function Find(AText: string): TTMSFNCDataGridCellCoord; overload;
Parameters
| Name | Description |
|---|---|
AText |
Text value used by the operation. |
Returns
The resulting cell coordinate.
Overload 2
Searches with explicit parameters (match mode, case sensitivity, direction, scope); returns the first matching cell coordinate, or an invalid cell if not found.
function Find(AText: string; AParameters: TTMSFNCDataGridDataFindParameters): TTMSFNCDataGridCellCoord; overload;
Parameters
| Name | Description |
|---|---|
AText |
Text value used by the operation. |
AParameters |
Argument used by the operation. |
Returns
The resulting cell coordinate.
Overload 3
Searches starting from a specific cell; returns the first matching cell coordinate, or an invalid cell if not found.
function Find(AText: string; AParameters: TTMSFNCDataGridDataFindParameters; AStartCell: TTMSFNCDataGridCellCoord): TTMSFNCDataGridCellCoord; overload;
Parameters
| Name | Description |
|---|---|
AText |
Text value used by the operation. |
AParameters |
Argument used by the operation. |
AStartCell |
Cell coordinate used by the operation. |
Returns
The resulting cell coordinate.