API:Vcl.Buttons.TBitBtn.Create
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
Creates and initializes a button instance.
Vcl.Buttons.TBitBtn.Create inherits from Vcl.StdCtrls.TCustomButton.Create. All content below this line refers to Vcl.StdCtrls.TCustomButton.Create.
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.