DropButtonStyle property

Specifies the symbol displayed on the drop button in a ComboBox.

Syntax

object.DropButtonStyle [= fmDropButtonStyle ]

The DropButtonStyle property syntax has these parts:

Part Description
object Required. A valid object.
fmDropButtonStyle Optional. The appearance of the drop button.

Settings

The settings for fmDropButtonStyle are:

Constant Value Description
fmDropButtonStylePlain 0 Displays a plain button, with no symbol.
fmDropButtonStyleArrow 1 Displays a down arrow (default).
fmDropButtonStyleEllipsis 2 Displays an ellipsis (...).
fmDropButtonStyleReduce 3 Displays a horizontal line like an underscore character.

Remarks

The recommended setting for showing items in a list is fmDropButtonStyleArrow. If you want to use the drop button in another way, such as to display a dialog box, specify fmDropButtonStyleEllipsis, fmDropButtonStylePlain, or fmDropButtonStyleReduce and trap the DropButtonClick event.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.