Partager via


OptionButton Control

Creates a single option button.

You can use a group of option buttons to provide a selection of predetermined choices. For more information about creating a group of option buttons, see the OptionGroup Control and Using Controls.

OptionButton

Remarks

Although you can add an option button to any container, when added to an OptionGroup container, the button is synchronized with other option buttons in that OptionGroup so that only one button can be selected at a time.

When you set the Style property for an OptionButton control to Graphical, the OptionButton control appears like a CommandButton control and can contain both graphics and text. For more information, see Style Property.

See Also

Reference

OptionButton Control Properties, Methods, and Events

CREATE FORM Command

CREATE CLASS Command

DEFINE CLASS Command

Other Resources

Objects, Collections, and Classes