enableMenuItem() - obsolete

Supports disabling of menus (obsolete from version 3.5 up).

Synopsis

void enableMenuItem(string moduleName, string menuItemName, bool enable)

Parameters

Parameter Meaning
modulName Name of the module
menuItemName Name of the menu item from the resource file
enable Status (enable 1, disable 0)

Return value

None

Error

Description

enableMenuItem() supports the disabling or enabling again of menus.

Caution: enableMenuItem() is not available under NV.

Example

main()
{
  enableMenuItem("Vision_1", "etmOpenPanelOrig", 0);
}

Assignment

Management of managers

Availability

UI