Vcl.AxCtrls.TActiveXControlFactory
Delphi
TActiveXControlFactory = class(TAutoObjectFactory)
C++
class PASCALIMPLEMENTATION TActiveXControlFactory : public System::Win::Comobj::TAutoObjectFactory
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.AxCtrls.pas Vcl.AxCtrls.hpp |
Vcl.AxCtrls | Vcl.AxCtrls |
Description
TActiveXControlFactory is the factory class for ActiveX control objects.
An ActiveX control is a COM object, which means the module it is implemented in must provide a factory object for the system to be able to create it. The TActiveXControlFactory class is a factory for ActiveX controls, which are implemented using the TActiveXControl abstract class.
For more information about COM factories, see TComObjectFactory.
The ActiveX Control wizard addsTo add an ActiveX control factory to your program, create the factory object in the initialization section of the unit that defines the TActiveXControl object.