Export (0) Print
Expand All
A
Expand Minimize

Visual Basic Reference

Visual Studio 6.0

AutoVerbMenu Property

See Also    Example    Applies To

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.

Syntax

object.AutoVerbMenu[ = boolean]

The AutoVerbMenu property syntax has these parts:

Part Description
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.

Settings

The settings for boolean are:

Setting Description
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.

Remarks

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.

Show:
© 2015 Microsoft