API:Vcl.StdCtrls.TCustomButton

Delphi
TCustomButton = class(TButtonControl)
C++
class PASCALIMPLEMENTATION TCustomButton : public TButtonControl
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | Vcl.StdCtrls |
Description
TButtonControl is the base class for objects that represent Windows button controls. {{#multireplace:Vcl.StdCtrls.TCustomButton|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.StdCtrls.TButtonControl|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.StdCtrls.TButtonControl|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
TButtonControl is the base class for objects that represent Windows button controls.
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.