Table of Contents

TTMSFNCDataGridFormatRuleItem.WithRange Method

Sets Value1 and Value2 from typed values for a gfcBetween or gfcNotBetween comparison. Both bounds are inclusive and their order does not matter.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridFormatRuleItem

Syntax

function WithRange(const AFrom, ATo: TTMSFNCValue): TTMSFNCDataGridFormatRuleItem;

Parameters

Name Description
AFrom The first bound, inclusive.
ATo The second bound, inclusive.

Returns

The rule, so calls can be chained.