Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.45 KB

showdropbuttonwhen-property.md

File metadata and controls

51 lines (35 loc) · 1.45 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ShowDropButtonWhen property
fm20.chm2001900
fm20.chm2001900
Office.ShowDropButtonWhen
82c7a038-a4fa-7253-ec24-c97e6841293e
11/16/2018
medium

ShowDropButtonWhen property

Specifies when to show the drop-down button for a ComboBox or TextBox.

Syntax

object.ShowDropButtonWhen [= fmShowDropButtonWhen ]

The ShowDropButtonWhen property syntax has these parts:

Part Description
object Required. A valid object.
fmShowDropButtonWhen Optional. The circumstances under which the drop-down button will be visible.

Settings

The settings for fmShowDropButtonWhen are:

Constant Value Description
fmShowDropButtonWhenNever 0 Do not show the drop-down button under any circumstances.
fmShowDropButtonWhenFocus 1 Show the drop-down button when the control has the focus.
fmShowDropButtonWhenAlways 2 Always show the drop-down button.

Remarks

For a ComboBox, the default value is fmShowDropButtonWhenAlways.

For a TextBox, the default value is fmShowDropButtonWhenNever.

See also

[!includeSupport and feedback]