Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.HilightText Method

Wraps all occurrences of AText in AValue with HTML highlight markup. Used internally for filter-match highlighting.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
function HilightText(ACaseSensitive: Boolean; AValue, AText: string): string;
System::UnicodeString __fastcall HilightText(bool ACaseSensitive, System::UnicodeString AValue, System::UnicodeString AText);

Parameters

Name Description
ACaseSensitive When True, matches text using case-sensitive comparison.
AValue Source text that may contain matches.
AText Text to highlight inside AValue.

Returns

The source text with matching fragments wrapped in highlight markup.