RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TShape.Create Constructor

Creates an instance of TShape.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TShape(TComponent * AOwner);

Call TShape indirectly, using the new keyword, to instantiate a TShape object at runtime. Shapes added to a form at design time are created automatically.  

AOwner is the component, typically a form, that is responsible for freeing the shape object. 

 

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