[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TButtonControl : ancestor class for several Button (including Radio Button) and Check Box classes
Source position: stdctrls.pp line 1042
type TButtonControl = class(TWinControl) |
||
class procedure WSRegisterClass; override; |
|
WSRegisterClass - Register this Class for the current Widget Set |
protected |
||
function GetChecked; virtual; |
|
GetChecked - returns True if the button is checked |
procedure SetChecked(); virtual; |
|
SetChecked - specifies whether or not the button is checked |
procedure DoOnChange; virtual; |
|
DoOnChange - perform the code of the OnChange event |
procedure Click; override; |
|
Click - a procedure that allows the programmer to simulate a mouse click over the control, and initiates the same Action as that associated with the OnClick event |
procedure CMWantSpecialKey(); message; |
|
Control Message when a special key is needed |
property Checked: Boolean; [rws] |
|
Checked - whether this button has been checked, which signifies selection |
property ClicksDisabled: Boolean; [rw] |
|
ClicksDisabled - if True, clicks are disabled for this button control |
property OnChange: TNotifyEvent; [rw] |
|
OnChange - event handler for any change in properties of the control |
public |
||
constructor Create(); override; |
|
Create - constructor for TButtonControl: calls inherited Create then initialises style |
end; |
|
TButtonControl : ancestor class for several Button (including Radio Button) and Check Box classes |
|
| | ||
| | ||
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
lazarus-ccr.sourceforge.net |