Checkbox object
The Checkbox widget lets users toggle an option on or off
| Property |
Description |
Access |
Type |
| Checkbox.align |
Align the Checkbox relative to its parent |
readwrite |
boolean |
| Checkbox.allowdrop |
Controls whether the Checkbox is a drag and drop target |
readwrite |
boolean |
| Checkbox.checked |
Get/set whether the Checkbox is checked or not |
readwrite |
boolean |
| Checkbox.cursor |
Get/set the image of the mouse cursor as it hovers over the Checkbox |
readwrite |
string |
| Checkbox.enabled |
Controls whether the Checkbox responds to mouse and other events |
readwrite |
boolean |
| Checkbox.font |
Get/set the Checkbox font |
readwrite |
string |
| Checkbox.fontsize |
Get/set the Checkbox font size |
readwrite |
number |
| Checkbox.fontstyle |
Get/set the Checkbox font style |
readwrite |
table |
| Checkbox.height |
Get/set the Checkbox's height |
readwrite |
number |
| Checkbox.parent |
Get the Checkbox's parent widget |
readonly |
|
| Checkbox.text |
Get/set the Checkbox text content |
readwrite |
string |
| Checkbox.tooltip |
Get/set the Checkbox tooltip text |
readwrite |
string |
| Checkbox.visible |
Controls whether the Checkbox appears on screen |
readwrite |
boolean |
| Checkbox.width |
Get/set the Checkbox's width |
readwrite |
number |
| Checkbox.x |
Get/set the Checkbox's horizontal position |
readwrite |
number |
| Checkbox.y |
Get/set the Checkbox's vertical position |
readwrite |
number |