Check Box Controls
Check box controls appears as square boxes with accompanying labels. Check boxes support options that are either on or off, and are used for independent or nonexclusive choices.
In contrast radio button controls are used to set one option from two or more available options.
Creating
Mnemonic |
Description |
Create a Check Box Control |
Manipulating
Mnemonic |
Description |
Check Object (By default, check boxes are initially unchecked) |
|
Set Control Title. Including the '&' before a character in the title causes it to be an accelerator. |
|
Uncheck Object |
Querying
CTRL() Function |
Information Returned |
0 |
Outer rectangle of the control in current scaled units. |
1 |
Control title. |
2 |
Checked/unchecked status of the check box. |
4 |
Control class and type. |
8 |
Visible/invisible and enabled/disabled status of the control. |
15 |
Background color of the control. |
16 |
Foreground color of the control. |