Vcl.ExtCtrls.TPaintBox.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TPaintBox(System::Classes::TComponent* AOwner);

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TPaintBox

Description

Creates an instance of TPaintBox.

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.

See Also