Vcl.StdCtrls.TCustomButton.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TCustomButton(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TCustomButton(HWND ParentWindow) : TButtonControl(ParentWindow) { }

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomButton

Description

Creates and initializes a button instance.

Use Create to programmatically instantiate a button. Buttons added in the form designer are created automatically.

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

See Also