OWLNext 7.0
Borland's Object Windows Library for the modern age
|
A check box generally presents the user with a two-state option.
The user can check or uncheck the control, or leave it as is. In a group of check boxes, any or all might be checked. For example, you might use a check box to enable or disable the use of sound in your application.
Radio buttons, on the other hand, are used for selecting one of several mutually exclusive options. For example, you might use radio buttons to choose between a number of sounds in your application.
TCheckBox is derived from TButton and represents check boxes. Since radio buttons share some behavior with check boxes, TRadioButton is derived from TCheckBox.
Check boxes and radio buttons are sometimes collectively referred to as selection boxes. While displayed on the screen, a selection box is either checked or unchecked. When the user clicks a selection box, it is an event, generating a Windows notification. As with other controls, the selection box's parent window usually intercepts and acts on these notifications.
See EXAMPLES\OWL\OWLAPI\BUTTON for radio button and check box control examples.