Visual Basic: Windows Controls

Visual Studio 6.0

ButtonDropDown Event

See Also    Example    Applies To

Occurs when the user clicks the dropdown arrow on a Button object.


Private Sub object_ButtonDropDown(ByVal Button As ComctlLib.Button)

The ButtonDropDown event syntax has these parts:

Part Description
object Required.
Button Returns a reference to the clicked Button object.


The dropdown arrow only appears when a Button object's Style is set to tbrDropdown.

The ButtonDropDown event occurs before the ButtonMenuClick event. Use the ButtonDropDown event to determine what items exist in the ButtonMenus collection, and edit them as needed.