TTMSFNCFilterViewCustomGroupList.AddGroup Method
Registers a user control as a filter group and returns the created group item.
API unit family: TMSFNCFilterView
Declaring type: TTMSFNCFilterViewCustomGroupList
Syntax
function AddGroup(AControl: TControl; AGroupOperator: TTMSFNCFilterBuilderGroupOperator = fgoAnd; AAddToFilter: Boolean = True; AAddToItems: TTMSFNCFilterStructureItems = nil): TTMSFNCFilterViewCustomGroup;
Parameters
| Name | Description |
|---|---|
AControl |
The control whose state provides the group operator. |
AGroupOperator |
Boolean operator (And/Or) for combining items in the group; defaults to And. |
AAddToFilter |
When True, the group is immediately added to the active filter. |
AAddToItems |
Optional parent filter structure items collection; nil uses the root. |