RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractWebPageModuleFactory.Create Constructor

Constructs an object and initializes its data before the object is first used.

Pascal
constructor Create(AWebPageInfo: TAbstractWebPageInfo);
C++

Do not create instances of TAbstractWebPageModuleFactory. Instead, construct descendants of TAbstractWebPageModuleFactory using the new keyword, passing any arguments for the descendant object's constructor.  

Descendant objects usually define a constructor that creates the particular kind of object and initializes its data.

Note: If an exception escapes from a constructor, the object's destructor is called to clean up the failed instance.
 

 

Destroy 

new

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