Package Win32::GUI::Checkbox
Constructor
new Win32::GUI::Checkbox(PARENT, %OPTIONS)
Creates a new Checkbox object; can also be called as PARENT->AddCheckbox(%OPTIONS). %OPTIONS are the same of Button (see new Win32::GUI::Button() ).
Methods
Checked([VALUE])
Gets or sets the check state of the Checkbox; if called without arguments, returns the current state:
0 not checked
1 checked
2 indeterminate (grayed)
If a VALUE is specified, it can be one of these (eg. 0 to uncheck the Checkbox, 1 to check it).
GetCheck() Returns the check state of the Checkbox:
SetCheck([VALUE]) Sets the check state of the Checkbox; for a list of possible values, see GetCheck(). If called without arguments, it checks the Checkbox (eg. state = 1).
Click() Sent when the control is selected (eg. the button pushed, the checkbox checked, etc.).
DblClick() Sent when the user double clicks on the control.
GotFocus() Sent when the control is activated.
LostFocus() Sent when the control is deactivated.0 not checked
1 checked
2 indeterminate (grayed)Events