[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 1177
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 clicking on the button, without showing the button in a disabled state. |
property OnChange: TNotifyEvent; [rw] |
|
Event handler for changes to properties in the control. |
public |
||
constructor Create(); override; |
|
Constructor for the class instance. |
end; |
|
Specifies a base class for button controls. |
|
| | ||
|
The base class for controls which can contain other (child) controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components which have an associated widget. |
|
| | ||
TComponent |
||
? | ||
TObject |
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.
lazarus-ccr.sourceforge.net |