A check box control displays a check mark. When selected, the check mark is removed when the check box is cleared. Use the CheckBox control class to give the user a True/False or Yes/No option. You can use check boxes in groups to display multiple choices from which the user can select one or more options.
As the CheckBox class is a subclass of the Control class, it inherits all of the properties and methods defined in the Control class and the Window class.
Check boxes and option buttons function in a similar manner except that any number of check boxes on a form can be selected at the same time. In contrast, only one option button in a group can be selected. To display text next to the check box, set the caption property. Use the value property to determine the state of the selected box.
The check box automatically sets the height of the control to fit the caption.
Check boxes are drawn using the current Windows theme that is in use, unless the currently active JADE skin defines the check box look and feel.
For a summary of the constants, properties, and events defined in the CheckBox class, see "CheckBox Class Constants", "CheckBox Properties", and "CheckBox Events", in the following subsections.