TTMSFNCCustomFilterView.AddFilterComboBox Method
Adds a combo box filter item from a string collection.
API unit family: TMSFNCFilterView
Declaring type: TTMSFNCCustomFilterView
Overloads
Overload 1
Adds a combo box filter item from a string collection.
function AddFilterComboBox(AItems: TStrings; ASelectedItemIndex: Integer = -1; AFilterFieldName: string = ''; AFilterFieldType: TTMSFNCFilterBuilderDataType = fdtText; AExpressionOperator: TTMSFNCFilterBuilderExpressionOperator = feoEqual): TTMSFNCFilterViewComboBox; overload;
Parameters
| Name | Description |
|---|---|
AItems |
Item captions shown by the combo box. |
ASelectedItemIndex |
Index that starts selected, or -1 for no selection. |
AFilterFieldName |
Field name used by the generated filter item. |
AFilterFieldType |
Field data type used to interpret item values. |
AExpressionOperator |
Operator used by generated expressions. |
Returns
The newly created combo box filter control.
Overload 2
Adds a combo box filter item from an array of item captions.
function AddFilterComboBox(AItems: array of string; ASelectedItemIndex: Integer = -1; AFilterFieldName: string = ''; AFilterFieldType: TTMSFNCFilterBuilderDataType = fdtText; AExpressionOperator: TTMSFNCFilterBuilderExpressionOperator = feoEqual): TTMSFNCFilterViewComboBox; overload;
Parameters
| Name | Description |
|---|---|
AItems |
Item captions shown by the combo box. |
ASelectedItemIndex |
Index that starts selected, or -1 for no selection. |
AFilterFieldName |
Field name used by the generated filter item. |
AFilterFieldType |
Field data type used to interpret item values. |
AExpressionOperator |
Operator used by generated expressions. |
Returns
The newly created combo box filter control.