Radio Button Controls
Radio button controls present the user with a variety of choices. Two or more radio buttons may be placed together in a group box to form a group of like items. Unlike check boxes, the buttons in a radio group are mutually exclusive. Thus, only one button may be selected at any given time.
Creating
Mnemonic |
Description |
Create a Radio Button Control |
Manipulating
Mnemonic |
Description |
Check Radio Button (By default, radio buttons are initially unchecked.) |
|
Create a Group Box Control |
|
Create A Radio Button Group |
|
Set Control Title. Including the '&' before a character in the title causes it to be an accelerator. |
|
Uncheck Radio Button |
Querying
CTRL() Function |
Information Returned |
0 |
Outer rectangle of the control in current scaled units. |
1 |
Control title. |
2 |
Checked/unchecked status of the radio button. |
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. |