TTMSFNCCustomFilterView.AddCustomGroupControl Method
Adds a custom control as a filter group under the specified filter item collection.
API unit family: TMSFNCFilterView
Declaring type: TTMSFNCCustomFilterView
Overloads
Overload 1
Adds a custom control as a filter group under the specified filter item collection.
function AddCustomGroupControl(AControl:TControl; AGroupOperator: TTMSFNCFilterBuilderGroupOperator; AAddToFilter: Boolean; AAddToItems: TTMSFNCFilterStructureItems): TTMSFNCFilterStructureGroup; overload;
Parameters
| Name | Description |
|---|---|
AControl |
Custom control to register as a filter group. |
AGroupOperator |
Operator used by the generated group. |
AAddToFilter |
When True, the generated group is added to the filter structure. |
AAddToItems |
Filter item collection that receives the generated group. |
Returns
The generated filter structure group.
Overload 2
Adds a custom control as a filter group under the root or another custom group control.
function AddCustomGroupControl(AControl:TControl; AGroupOperator: TTMSFNCFilterBuilderGroupOperator = fgoAnd; AAddToFilter: Boolean = True; AGroupControl: TControl = nil): TTMSFNCFilterStructureGroup; overload;
Parameters
| Name | Description |
|---|---|
AControl |
Custom control to register as a filter group. |
AGroupOperator |
Operator used by the generated group. |
AAddToFilter |
When True, the generated group is added to the filter structure. |
AGroupControl |
Optional custom group control that receives the group. |
Returns
The generated filter structure group.