RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComponentFactory Class

TComponentFactory is the class factory for creating instances of components that support interfaces.

Pascal
TComponentFactory = class(TAutoObjectFactory, IClassFactory);
C++
class TComponentFactory : public TAutoObjectFactory, public IClassFactory;

VCLCom

TComponentFactory creates instances of component classes that implement interfaces. TComponentFactory supports the IClassFactory interface and inherits support for the IClassFactory2 interface.

Note: These components are actually created as contained objects of an automation object (aggregate).
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!