Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets a value that indicates whether the shortcut (right-click) menu is enabled in Microsoft Visio Viewer. Read/write.
Syntax
expression.ContextMenuEnabled
expression An expression that returns a Viewer object.
Return value
Boolean
Remarks
The default is for the shortcut menu to be enabled (True).
If the ContextMenuEnabled property is set to False, there is no way for the user to access that menu. However, all of the commands on the menu are available on the toolbar.
Example
The following code disables the shortcut menu in Visio Viewer.
vsoViewer.ContextMenuEnabled = False
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.