Arbortext IsoView > Programmer's Reference > Context Menu Functions > EnableContextMenuItem
  
EnableContextMenuItem
This method enables or disables menu items added by AddContextMenuItem. (See AddContextMenuItem.) This is also possible after the menu has been created by CreateContextMenu. (See CreateContextMenu.) This method returns true if successful; otherwise false.
Introduced with Arbortext IsoView 1.0.
Syntax
EnableContextMenuItemitemenabled
Parameters:
item
Sets the number of the menu item (base = 1) as short.
enabled
Defines if the menu item is enabled as boolean.
document.ivx1.EnableContextMenuItem( 2, true );