Skip to main content
Table of Contents

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.

FMX.TMSFNCDataGridData.hppPascalC++
function Find(AText: string): TTMSFNCDataGridCellCoord; overload;
TTMSFNCDataGridCellCoord __fastcall Find(System::UnicodeString AText)/* 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.

FMX.TMSFNCDataGridData.hppPascalC++
function Find(AText: string; AParameters: TTMSFNCDataGridDataFindParameters): TTMSFNCDataGridCellCoord; overload;
TTMSFNCDataGridCellCoord __fastcall Find(System::UnicodeString AText, TTMSFNCDataGridDataFindParameters AParameters)/* 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.

FMX.TMSFNCDataGridData.hppPascalC++
function Find(AText: string; AParameters: TTMSFNCDataGridDataFindParameters; AStartCell: TTMSFNCDataGridCellCoord): TTMSFNCDataGridCellCoord; overload;
TTMSFNCDataGridCellCoord __fastcall Find(System::UnicodeString AText, TTMSFNCDataGridDataFindParameters AParameters, const TTMSFNCDataGridCellCoord &AStartCell)/* 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.