Skip to main content
Table of Contents

TTMSFNCDataGrid.HilightCells Method

Wraps occurrences of a text in highlight markup in the cells covered by the options.

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

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
procedure HilightCells(AHilightText: string; AOptions: TTMSFNCDataGridHilightOptions);
void __fastcall HilightCells(System::UnicodeString AHilightText, const TTMSFNCDataGridHilightOptions &AOptions);

Remarks

The markup is inserted into the cell text; remove it with UnhilightCells.

Parameters

Name Description
AHilightText Text to search for and highlight.
AOptions Scope (Mode: a single cell, a column, a row or the whole grid, with Column/Row identifying the target), CaseSensitive, FullText, and IncludeFixed to include fixed cells.