GUI Help > Menus > setMenuItemText
setMenuItemText
setMenuItemText handle menu, int item, str newText
Description: Sets the text of an item in a menu.
Return Value:
Parameters:
menu | Handle of a menu created with createMenu, createSubMenu or createPopupMenu
item | The identifier of the item, this is the number you assigned using addMenuItem
newText | The new caption of the item
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)