Table of Contents

TTMSFNCFilterRulesManager.AddPlaceholder Method

Adds a text-source entry that substitutes {APlaceholderName} in FilterText and ItemsPath with the value of APropertyName on ASource at Apply time; returns Self for chaining.

API unit family: TMS.TMSFNCFilterRulesManager Declaring type: TTMSFNCFilterRulesManager Inherited from: TTMSFNCCustomFilterRulesManager

Syntax

function AddPlaceholder(const APlaceholderName: string; ASource: TObject; const APropertyName: string): TTMSFNCCustomFilterRulesManager;

Parameters

Name Description
APlaceholderName Token written as {APlaceholderName} in filter expressions or paths.
ASource Object whose property is read at Apply time.
APropertyName RTTI property path resolved on ASource to obtain the substitution value.

Returns

Self for method chaining.