RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPaintBox.Create Constructor

Creates an instance of TPaintBox.

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

Call Create to instantiate a TPaintBox object at runtime. TPaintBox objects added to forms at design time are created automatically.  

Call Create to instantiate a TImage object at runtime. Images placed on forms at design time are created automatically. 

AOwner is the component that is responsible for freeing the paintbox instance. It becomes the value of the Owner property. 

 

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