Option button control

Used in groups, option button controls represent a set of mutually exclusive choices. You must create each option button in the group separately and assign it the same group name. Only one label for is created each group of option buttons that have the same group name.

You can associate each option button with a field and provide an appropriate value to for that field when the button is selected. You can assign a different field to each option button in the group.

The property sheet for an option button control has two pages: General and Extended.

General page

The following table lists the properties of the General page.

Property
Description
Field Name
Select the field to associate with the control.
Label
Enter a label for the control. By default, the label is the name of the selected field.
X
The horizontal starting point of the control in pixels.
Y
The vertical starting point of the control in pixels.
Width
The width of the control in pixels.
Height
The height of the control in pixels.

The following table lists the properties of the Extended page.

Property
Description
Group Name
The name of the group that this option button is associated with. Only one option button in a group may be selected at any given time. Selecting a different button in the group clears the currently selected button.
Group Label
The label displayed for a group of option buttons. Only one label is created for the group of buttons with the same group name.
Value
The value returned when this option button is selected.