Table of Contents

TTMSFNCFilterViewPanel.AddFilterCheckBox Method

Adds a check box filter item to the panel.

API unit family: TMSFNCFilterView Declaring type: TTMSFNCFilterViewPanel

Syntax

function AddFilterCheckBox(AValue: TTMSFNCValue; AFilterFieldName: string = ''; AFilterFieldType: TTMSFNCFilterBuilderDataType = fdtAutomatic; AExpressionOperator: TTMSFNCFilterBuilderExpressionOperator = feoEqual; AChecked: Boolean = False): TTMSFNCFilterViewCheckBox;

Parameters

Name Description
AValue Filter value associated with the check box.
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.
AChecked When True, the check box starts checked.

Returns

The newly created check box filter control.