Visual Basic Reference
Returns or sets a value that determines if a pop-up menu containing the object's verbs is displayed when the user clicks the OLE container control with the right mouse button.
object.AutoVerbMenu[ = boolean]
The AutoVerbMenu property syntax has these parts:
|Object||An object expression that evaluates to an object in the Applies To list.|
|Boolean||A Boolean expression specifying whether a pop-up menu is displayed, as described in Settings.|
The settings for boolean are:
|True||(Default) When the user clicks the OLE container control with the right mouse button, a pop-up menu is displayed, showing the commands the object supports.|
|False||No pop-up menu is displayed.|
When this property is set to True, Click events and MouseDown events don't occur when the OLE container control is clicked with the right mouse button.
In order to display your own menus, the AutoVerbMenu property must be set to False.