Vcl.Buttons.TBitBtn.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

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

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.Buttons.pas
Vcl.Buttons.hpp
Vcl.Buttons TBitBtn

Description

Constructs an instance of the button control and initializes its values.

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

The AOwner parameter specifies the component, typically a form, that is responsible for freeing the button.

See Also