[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Specifies a base class for button controls.
Source position: stdctrls.pp line 1176
type TButtonControl = class(TWinControl) |
||
protected |
||
class procedure WSRegisterClass; override; |
|
Registers this component class with the current WidgetSet. |
function GetActionLinkClass; override; |
|
The default ActionLink class (TControlActionLink). |
function GetChecked; virtual; |
|
Gets the value for the Checked property. |
procedure SetChecked(); virtual; |
|
Sets the value for the Checked property. |
procedure DoOnChange; virtual; |
|
Signals the OnEditingDone and OnChange event handlers (when assigned). |
procedure Click; override; |
|
Performs actions needed when a click message is handled for the control. |
property Checked: Boolean; [rws] |
|
Indicates the checked state for the control. |
property ClicksDisabled: Boolean; [rw] |
|
Disables calling the Click method without changing the Enabled state for the control. |
property OnChange: TNotifyEvent; [rw] |
|
Event handler for signalled when the button control is clicked. |
public |
||
constructor Create(); override; |
|
Constructor for the class instance. |
end; |
|
Specifies a base class for button controls. |
|
| | ||
|
Implements a windowed control which can contain other child controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components which have an associated widget. |
|
| | ||
| | ||
| | ||
TButtonControl is a TWinControl descendant which specifies the base class used for controls with button-like behavior, such as: TCustomButton, TButton, TCustomCheckBox, TCheckBox, TToggleBox, and TRadioButton.
TButtonControl introduces properties, methods, and events needed to read and write the Checked state for the control, handle Click events, and perform actions using OnChange or an action link.
Do not create instances of TButtonControl in an application; use one of the descendent classes.
Version 3.2 | Generated 2024-02-25 | Home |