[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
The base class for checkbox components.
Source position: stdctrls.pp line 1262
type TCustomCheckBox = class(TButtonControl) end; |
||
protected |
||
class procedure WSRegisterClass; override; |
|
Registers this component class with the current WidgetSet. |
procedure Click; override; |
|
Invokes the OnClick and ActionLink.Execute handlers. |
procedure DoClickOnChange; virtual; |
|
Invokes either the OnClick or OnChange handler. |
function RetrieveState; |
|
Retrieves the checkbox state from the widget. |
procedure InitializeWnd; override; |
||
procedure Toggle; virtual; |
|
Alternate between checked and unchecked state. |
function DialogChar(); override; |
|
Do something useful with accelerators etc. |
function GetChecked; override; |
|
The state of the check mark. Here always False, can be implemented in derived classes. |
procedure SetChecked(); override; |
|
The state of the check mark. Here always False, can be implemented in derived classes. |
procedure RealSetText(); override; |
|
Sets the Caption property. |
procedure ApplyChanges; virtual; |
|
Asks the widget to update the visual appearance of the object. |
class function GetControlClassDefaultSize; override; |
||
procedure Loaded; override; |
||
procedure WSSetText(); override; |
|
Sends text to the widget (from WM_SETTEXT?). |
procedure TextChanged; override; |
|
Handles changes of the Text property. |
procedure CreateParams(); override; |
||
public |
||
constructor Create(); override; |
||
property Alignment: TLeftRight; [rw] |
||
property AllowGrayed: Boolean; [rw] |
|
Allows the check box to be in a "grayed" state. |
property State: TCheckBoxState; [rw] |
|
Indicates whether the check box is checked (selected), unchecked (deselected) or grayed (disabled). |
property ShortCut: TShortcut; [r] |
|
|
property ShortCutKey2: TShortcut; [r] |
|
|
property OnChange: TNotifyEvent; |
|
Handler for any change in properties of the control. |
|
The base class for checkbox components. |
|
| | ||
|
The base class for various 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 associated with widgets. |
|
| | ||
TComponent |
||
? | ||
TObject |
Check boxes present the user with options that can be selected (checked) or deselected (unchecked).
|
A label with a box which can contain a check mark. |
lazarus-ccr.sourceforge.net |