Sets the menu entry text of a selected menu.
Syntax:
MnuName(entry name,entry text)
Parameters:
entry name: The entry name of a specific menu entry as defined in the Menu repository.
entry text: The new text that replaces the menu entry's existing text.
Returns:
Boolean – A True value is returned if a menu entry with the given entry name is found. If not, a False value is returned.
Example:
MnuName ('entity_list', '&Customer list')
Customer list is the text assigned to the menu entry
The first letter is an accelerator as indicated by the ampersand (&), which precedes it.
Entity_list is the type of menu entry.
Exceptions:
This function is not supported in Web Client tasks.
Platform specific:
This function is not supported for mobile devices.
See also:
The Online and Rich Client Samples projects (program MN07 and RMN07)