Table of Contents

TTMSFNCFilterViewPanel.AddFilterControlContainer Method

Adds a custom control container filter item to the panel.

API unit family: TMSFNCFilterView Declaring type: TTMSFNCFilterViewPanel

Syntax

function AddFilterControlContainer(AFilterValueText: string; AFilterFieldName: string = ''; AFilterFieldType: TTMSFNCFilterBuilderDataType = fdtAutomatic; AExpressionOperator: TTMSFNCFilterBuilderExpressionOperator = feoEqual; AOwner: TComponent = nil): TTMSFNCFilterViewControlContainer;

Parameters

Name Description
AFilterValueText Initial text value used by the generated expression.
AFilterFieldName Field name used by the generated filter item.
AFilterFieldType Field data type used to interpret the value.
AExpressionOperator Operator used by the generated expression.
AOwner Optional owner for the custom control container.

Returns

The newly created custom control container.