Skip to main content
Table of Contents

TTMSFNCDataGrid.FindFirst Method

Starts a stateful search from the beginning of the search range; call FindNext to advance to subsequent matches.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function FindFirst(AText: string; AParameters: TTMSFNCDataGridDataFindParameters): TTMSFNCDataGridCellCoord;
TTMSFNCDataGridCellCoord __fastcall FindFirst(System::UnicodeString AText, TTMSFNCDataGridDataFindParameters AParameters);

Parameters

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

Returns

The first matching cell, or (-1, -1) when nothing matches.