TTMSFNCDataGridConditionalFormatting.AddTextRule Method
Adds a
grtTextrule that compares a column's text against a reference string.
API unit family: TMSFNCDataGridConditionalFormatting
Declaring type: TTMSFNCDataGridConditionalFormatting
Syntax
function AddTextRule(AColumn: Integer; AComparison: TTMSFNCDataGridFormatComparison; const AText: string): TTMSFNCDataGridFormatRuleItem;
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based column index the rule applies to. |
AComparison |
The string comparison operator to use. |
AText |
The reference text compared against the cell text. |
Returns
The newly added rule.