Vcl.ExtCtrls.TShape.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TShape(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TShape |
Description
Creates an instance of TShape.
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.