RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBitBtn.Create Constructor

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

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TBitBtn(TComponent * AOwner);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!