[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomCheckBox is the ancestor of all check-box components.
Source position: stdctrls.pp line 1143
type TCustomCheckBox = class(TButtonControl) |
||
protected |
||
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 |
function RetrieveState; |
|
RetrieveState - returns the value for check box state |
procedure InitializeWnd; override; |
|
InitializeWnd - initialise the window for this control |
procedure Toggle; virtual; |
|
Toggle - method to alternate between checked and unchecked states on successive activations |
function DialogChar(); override; |
|
DialogChar - a LCL Key Message; returns True if a Dialog character has an associated message |
function GetChecked; override; |
|
GetChecked - returns True if the button is checked |
procedure SetChecked(); override; |
|
SetChecked - specifies whether or not the button is checked |
procedure RealSetText(); override; |
|
Procedure to store text associated with the control in a string |
procedure ApplyChanges; virtual; |
|
ApplyChanges - method for applying specified changes |
function GetControlClassDefaultSize; override; |
|
Find the default size for this class of controls (by reference to parents) |
procedure Loaded; override; |
|
|
procedure WSSetText(); override; |
|
WSSetText - writes the name of the current widget set to a local variable |
procedure TextChanged; override; |
|
Procedure to deal with changes in text |
public |
||
constructor Create(); override; |
||
property AutoSize; |
|
Whether auto-size is to be used |
property AllowGrayed: Boolean; [rw] |
|
Determines whether the check box can be in a "grayed" state. |
property State: TCheckBoxState; [rw] |
|
Indicates whether the check box is checked (selected), unchecked (deselected) or grayed. |
property TabStop; |
|
Is the control in the sequence of controls accessed by successive presses of the Tab key? |
property OnChange; |
|
OnChange - event handler for any change in properties of the control |
end; |
|
TCustomCheckBox is the ancestor of all check-box components. |
|
| | ||
|
TButtonControl : ancestor class for several Button (including Radio Button) and Check Box classes |
|
| | ||
|
TWinControl - the base class for all windowed controls |
|
| | ||
|
TControl - the main ancestor class for visual controls. |
|
| | ||
TLCLComponent |
||
? | ||
TObject |
TCustomCheckBox : The base (abstract) class from which the TCheckBox is derived.
Check boxes present the user with options that can be selected (checked) or deselected (unchecked).
|
TCheckBox - a small box which can contain a check mark to indicate that it has been selected by a mouse click |