Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.MarkCells Method

Wraps occurrences of AHilightText in mark markup in the cells covered by AOptions.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
procedure MarkCells(AHilightText: string; AOptions: TTMSFNCDataGridMarkOptions); overload;
void __fastcall MarkCells(System::UnicodeString AHilightText, const TTMSFNCDataGridMarkOptions &AOptions)/* overload */;

Remarks

The markup is written into the cell values themselves, so it is included when the data is saved or copied until it is removed with UnmarkCells.

Parameters

Name Description
AHilightText Text to search for and mark.
AOptions Scope (Mode, Column, Row), CaseSensitive, FullText and IncludeFixed. Start from DefaultMarkOptions.