Skip to main content
Table of Contents

TTMSFNCCustomFilterView.AddFilterCheckBox Method

Adds a check box filter item to the filter view.

API unit family: TMSFNCFilterView Declaring type: TTMSFNCCustomFilterView

Syntax

FMX.TMSFNCFilterView.hppPascalC++
function AddFilterCheckBox(AValue: TTMSFNCValue; AFilterFieldName: string = ''; AFilterFieldType: TTMSFNCFilterBuilderDataType = fdtAutomatic; AExpressionOperator: TTMSFNCFilterBuilderExpressionOperator = feoEqual; AChecked: Boolean = False): TTMSFNCFilterViewCheckBox;
TTMSFNCFilterViewCheckBox* __fastcall AddFilterCheckBox(const TTMSFNCValue &AValue, System::UnicodeString AFilterFieldName = System::UnicodeString(), TTMSFNCFilterBuilderDataType AFilterFieldType = (TTMSFNCFilterBuilderDataType)(0x0), TTMSFNCFilterBuilderExpressionOperator AExpressionOperator = (TTMSFNCFilterBuilderExpressionOperator)(0x3), bool AChecked = false);

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.