Table of Contents

TTMSFNCDataGridFormatRuleItem.WithDateRange Method

Turns the rule into a grtDate rule matching the explicit date range .., both inclusive.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridFormatRuleItem

Syntax

function WithDateRange(AFrom, ATo: TDateTime): TTMSFNCDataGridFormatRuleItem;

Parameters

Name Description
AFrom First date matched, inclusive. Pass 0 for an open lower bound.
ATo Last date matched, inclusive. Pass 0 for an open upper bound.

Returns

The rule, so calls can be chained.