RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TButtonControl Class

TButtonControl is the base class for objects that represent Windows button controls.

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

StdCtrls

TButtonControl encapsulates behavior common to button controls, check boxes, and radio buttons. Use TButtonControl as a base class when defining a button that is a wrapper for a Windows button. Do not create instances of TButtonControl directly in an application. Instead, use a descendant of TButtonControl to put a push button, check box, or radio button on a form.

Note: Some buttons, such as TSpeedButton, are not wrappers for Windows buttons. These controls do not descend from TButtonControl.
 

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