Visual Basic: Windows Controls
ButtonMenuClick Event
Occurs when the user clicks a ButtonMenu object.
Syntax
Private Subobject_ButtonMenuClick([indexAs 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.