Sets whether or not the specified menu will display when the right mouse button is clicked over the appropriate area.
Syntax
Parameters
- menuType
- The MenuType to display.
- tool
- If the MenuType is Toolbar, then the Tool parameter is the Tool that the menu is associated with. An AnnotationTool enumeration. If the menuType is Context, the Tool parameter has no meaning and can be any value.
- enabled
- A boolean value which is true when the menu is enabled, and displays when the right mouse button is clicked over the appropriate tool or element. Otherwise, false is used and the menu should be disabled.
See Also