RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TButton Class

TButton is a push button control.

Pascal
TButton = class(TButtonControl);
C++
class TButton : public TButtonControl;

StdCtrls

Use TButton to put a standard push button on a form. TButton introduces several properties to control its behavior in a dialog box setting. Users choose button controls to initiate actions. 

To use a button that displays a bitmap instead of a label, use TBitBtn. To use a button that can remain in a depressed position, use TSpeedButton.

Note: Since the TButton caption is always centered, changing the BiDi alignment has no effect.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!