SetMenuItemText

To change the text of a menu item, use the SetMenuItemText method.

SetMenuItemText theMenu as MenuHandle, theItem as Integer, itemText as String

theMenu Handle of a desired menu.

theItme ID, within theMenu, of item to change.

itemText Text to put in the menu (metacharacters NOT interpreted).


Description:
SetMenuItemText is typically used to toggle the meaning of a menu item; e.g. to change betwean "Show clippboard" and "HideClippboard" for example.

Supported platforms:
* MacOS PPC
* MacOS Carbon
* MacOS 68k

Unsupported platforms:
* Windows x86