Table of Contents

TTMSFNCDataGridFormatRuleItem.Highlight Method

Configures this rule's Appearance with a solid fill and, optionally, a text color and bold font.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridFormatRuleItem

Syntax

function Highlight(AFillColor: TTMSFNCGraphicsColor; ATextColor: TTMSFNCGraphicsColor = gcNull; ABold: Boolean = False): TTMSFNCDataGridFormatRuleItem;

Parameters

Name Description
AFillColor The solid fill color applied to matching cells.
ATextColor The font color applied to matching cells; pass gcNull (the default) to leave the font color unchanged.
ABold When True, the bold font style is added for matching cells. Default is False.

Returns

This rule, so further configuration calls can be chained.