CheckBox.Checked
The CheckBox Control Object that is returned by the AddCheckBox function has a Checked property. The Checked property defines whether the check box is selected (displays a check mark).
| Syntax |
ControlObject.Checked = Value Where ControlObject. is the name of the variable (declared in your script) that is used to store the CheckBox Control Object that is returned by the AddCheckBox function. |
| Description |
Sets the check box to selected (filled with a check mark) or clear. |
| Arguments |
Value {Boolean} If set to True, the Check Box is selected automatically by default; if set to False it is clear. |
| Returns |
Boolean |
Example:
CheckBox1.Checked = True
Where:
- CheckBox1 is the name of the variable that stores the CheckBox Control Object returned by the AddCheckBox function
- True sets the Check Box to selected.