class CheckBox
A check box on a form.
Syntax
[<oRef> =] new CheckBox(<container> [,<name expC>])
<oRef>
A variable or property—typically of <container>—in which to store a reference to the newly created CheckBox object.
<container>
The container—typically a Form object—to which you’re binding the CheckBox object.
<name expC>
An optional name for the CheckBox object. If not specified, the CheckBox class will auto-generate a name for the object.
Properties
The following tables list the properties and events of interest in the CheckBox class. (No particular methods are associated with this class.)
Property |
Default |
Description |
CHECKBOX |
Identifies the object as an instance of the CheckBox class | |
(CHECKBOX) |
Identifies the object as an instance of a custom class. When no custom class exists, defaults to baseClassName | |
BtnText/BtnFace |
The color of the checkbox’s text label | |
|
The Field object that is linked to the CheckBox | |
|
The group to which the check box belongs | |
<same as name> |
The text label that appears beside the check box | |
false |
Whether the check box’s text label appears to the left or to the right of the check box | |
false |
Whether the CheckBox object has the same background color or image as its container | |
|
The current value of the check box (true or false)
| |
Event |
Parameters |
Description |
|
After the check box is toggled
|
The following table lists the common properties, events, and methods of the CheckBox class:
Description
Use a CheckBox component to represent a true/false value.