Visual Basic Reference

Button Constants

See Also

The Style property settings for the Checkbox, CommandButton, and OptionButton controls are:

Constant Value Description
vbButtonStandard 0 (Default) Standard. The control displays as it did in previous versions of Visual Basic. That is, a Checkbox control displays as a checkbox with a label next to it, an OptionButton as an option button with a label next to it, and a CommandButton as standard CommandButton without an associated graphic.
vbButtonGraphical 1 Graphical. The control displays in a graphical style. That is, a Checkbox control displays as a CommandButton-like button which can be toggled either up or down, an OptionButton displays as a CommandButton-like button which remains toggled up or down until another OptionButton in its option group is selected, and a CommandButton displays as a standard CommandButton that can also display an associated graphic.

Show: