Radio buttons are used to select one of several options, usually within a dialog box. A radio button contains a small circle with text next to it. When selected, the circle has a smaller, filled circle inside it. Selecting one button in a set deselects the previously selected button, so only one of the options in the set is selected at a time.
The window class name for a radio button is "BUTTON".
Supported Properties and Methods
- The DoDefaultAction method clicks the radio button.
- The ChildCount property is zero.
- The DefaultAction property for a radio button is "Check".
- The KeyboardShortcut property is the radio button's access key, which is an underlined character in the control's window text. This string contains the access key character appended to the string "Alt+".
- The Name property is obtained from the control's window text (or caption), which is displayed with the radio button.
- The Parent property is a window (ROLE_SYSTEM_WINDOW) that surrounds the control and has the same Name property and window class name as the control.
- The Role property is ROLE_SYSTEM_RADIOBUTTON.
- The State property is a combination of one or more of the following values:
STATE_SYSTEM_INVISIBLE | STATE_SYSTEM_UNAVAILABLE | STATE_SYSTEM_FOCUSED | STATE_SYSTEM_FOCUSABLE | STATE_SYSTEM_CHECKED | STATE_SYSTEM_NORMAL