Description

Gets or sets the context menu used in this window.

Property type

A McCommandBarPopup object.  

Syntax

[Set] object.WorkspaceMenu [= McCommandBarPopup]

The WorkspaceMenu Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McWindow.
McCommandBarPopupA McCommandBarPopup object.

Remarks

The popup menu named “Context menu”, which is defined in the .mnu file, is usually used for that purpose and assigned automatically when the window is created.