RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TActiveXControlFactory Class

TActiveXControlFactory is the factory class for ActiveX control objects.

Pascal
TActiveXControlFactory = class(TAutoObjectFactory);
C++
class TActiveXControlFactory : public TAutoObjectFactory;

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 adds To add an ActiveX control factory to your program, create the factory object in the initialization section of the unit that defines the TActiveXControl object. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!