Visual Basic: Windows Controls

Visual Studio 6.0

ButtonMenuClick Event

See Also    Example    Applies To

Occurs when the user clicks a ButtonMenu object.

Syntax

Private Sub object_ButtonMenuClick([index As Integer,]ByVal ButtonMenu As ComctlLib.ButtonMenu)

The ButtonMenuClick event syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
index An integer that uniquely identifies a control if it's in a control array.
ButtonMenu A reference to the clicked ButtonMenu object.

Remarks

You can use the ButtonMenuClick event with the ButtonMenu object's Parent property to determine which button was clicked.

Show: