Check Box
Check Box
Checkbox is an item that represents the check state on the screen.
Methods
Return Type |
Method |
Description |
int |
Obtain the state of checkboxes. |
|
Set the check state to checkboxes. |
getCheck obtains the state of checkboxes. ㆍ The result value is 0 or 1. ㆍ 0 (Unchecked) ㆍ 1 (Checked) |
Example)
obj = canvas.getObject('CheckBox'); << Obtain the checkbox object. obj .setCheck( 2); << Set the check. |
setCheck sets the state of checkboxes. ㆍ Enter 0 or 1 to value. ㆍ value 0 : Unchecked ㆍ value 1 : Checked
|
Example)
obj = canvas.getObject('CheckBox'); << Obtain the checkbox object. obj .setCheck( 2); << Set the check. |