OptionButton
- OptionButton controls are used in an option group to display options from which the user selects only one.
- OptionButton controls
are grouped by placing them inside a container such as a Frame control, a PictureBox control, or a Form.
- All OptionButton controls within the same container act as a single group.
- When a user selects an OptionButton, the other OptionButton controls in the same group are automatically unavailable.
- To specify one
OptionButton as the default, set the Value property to True at design time.
The following form
shows two option buttons grouped in a frame.

Option buttons have the
value True or False. To check the value of an option button in a Select
Case statement use code like:
Select Case True
Case optReserved.Value
Call bookReserved (
theater( ), availableSeats )
Case optGeneral.Value
Call bookGeneral (
theater( ), availableSeats )
End Select
The values can also be
checked in an If statement.