Purpose |
Set the text of a menu item. |
Syntax |
MENU SET TEXT hMenu, [BYCMD] position&, txt$ |
Remarks |
Set the text of the menu item identified by position&. |
hMenu |
Handle of the menu that contains the menu item to change. |
position& |
Position within the menu, of the menu item to be changed. If the BYCMD option is used, position& specifies the unique menu item identifier of the item to change. Otherwise, position& indicates the physical position of the menu item within the menu, where position& = 1 for the first position, position& = 2 for the second position, and so on. |
txt$ |
The new text for the menu item. |
See also |
Dynamic Dialog Tools, Menus, MENU ADD POPUP, MENU ADD STRING, MENU ATTACH, MENU CONTEXT, MENU DELETE, MENU DRAW BAR, MENU GET STATE, MENU GET TEXT, MENU NEW BAR, MENU NEW POPUP, MENU SET STATE |