Vcl.AxCtrls.TActiveFormControl.CreateAggregated
Delphi
constructor CreateAggregated(const Controller: IUnknown);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.AxCtrls.pas | Vcl.AxCtrls | TActiveFormControl |
Description
Instantiates a COM object that is part of an aggregate.
Instantiates a COM object that is part of an aggregate.
Vcl.AxCtrls.TActiveFormControl.CreateAggregated inherits from System.Win.ComObj.TComObject.CreateAggregated. All content below this line refers to System.Win.ComObj.TComObject.CreateAggregated.
Instantiates a COM object that is part of an aggregate.
Call CreateAggregated to instantiate a COM object that is part of an aggregate by passing it the IUnknown control object as the Controller parameter.
CreateAggregated allocates memory for a COM object and then calls the CreateFromFactory constructor. Because the newly instantiated COM object is part of an aggregate, CreateAggregated passes Controller to CreateFromFactory as its Controller parameter. Controller also becomes the value of the Controller property of the COM object.