TTMSFNCDataGridFormatRuleItem.ForColumns Method
Scopes this rule to an inclusive range of columns.
API unit family: TMSFNCDataGridConditionalFormatting
Declaring type: TTMSFNCDataGridFormatRuleItem
Syntax
function ForColumns(AFirstColumn, ALastColumn: Integer): TTMSFNCDataGridFormatRuleItem;
TTMSFNCDataGridFormatRuleItem* __fastcall ForColumns(int AFirstColumn, int ALastColumn);
Remarks
Sets Scope to grsColumnRange, assigns Column and ColumnTo, and clears ApplyToEntireRow. The two bounds may be given in either order. Aggregate rules compute one set of statistics over the whole range, not per column.
Parameters
| Name | Description |
|---|---|
AFirstColumn |
The zero-based index of the first column in the range. |
ALastColumn |
The zero-based index of the last column in the range. |
Returns
This rule, so further configuration calls can be chained.