Table of Contents

TTMSFNCCustomDataGrid.Find Method

Searches the grid for the given text and returns the first matching cell coordinate.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Overloads

Overload 1

Searches the grid for the given text and returns the first matching cell coordinate.

function Find(AText: string): TTMSFNCDataGridCellCoord; overload;

Parameters

Name Description
AText Text to search for.

Returns

The cell coordinate of the first match.

Overload 2

Searches for text using the specified find parameters (case sensitivity, direction, scope).

function Find(AText: string; AParameters: TTMSFNCDataGridDataFindParameters): TTMSFNCDataGridCellCoord; overload;

Parameters

Name Description
AText Text to search for.
AParameters Search options controlling case sensitivity, direction, and scope.

Returns

The cell coordinate of the first match.

Overload 3

Searches for text starting from a specified cell using the given find parameters.

function Find(AText: string; AParameters: TTMSFNCDataGridDataFindParameters; AStartCell: TTMSFNCDataGridCellCoord): TTMSFNCDataGridCellCoord; overload;

Parameters

Name Description
AText Text to search for.
AParameters Search options controlling case sensitivity, direction, and scope.
AStartCell Cell from which the search begins.

Returns

The cell coordinate of the match.