Visual Basic: RichTextBox Control

Visual Studio 6.0

AutoVerbMenu Property (RichTextBox Control)

See Also    Example    Applies To

Returns or sets a value that determines if a pop-up menu containing the selected objects verbs is displayed when the user clicks the OLE object with the right mouse button.


object.AutoVerbMenu [ = value ]

The AutoVerbMenu property has the following parts:

Part Description
object An object expression that evaluates to a RichTextBox control.
value A Boolean expression that specifies whether a menu is displayed, as described in Settings.


The settings for value are:

Setting Description
True A pop-up menu is displayed when the user clicks the right mouse button on the object.
False No pop-up menu is displayed.


When this property is set to True, Click events and MouseDown events don't occur for the RichTextBox control when the OLE object is clicked with the right mouse button. Any other region of the control will generate the correct events.