Returns the text of a menu title.
Syntax
PRMPAD(MenuBarName, MenuTitleName)
Returns
Character
Arguments
MenuBarName
Specifies the name of the menu bar containing the menu title.
MenuTitleName
Specifies the menu title.
Remarks
Menu bars are created with DEFINE MENU, which creates the menu bar, and DEFINE PAD, which creates the menu titles in the menu bar. PRMPAD( ) also works with the Visual FoxPro menu system. A menu bar doesn't have to be active for PRMPAD( ) to return the text for a menu title.
If a menu title was created using the backslash and less-than characters (\<) to create an access key, or a backslash (\) to disable the menu title, PRMPAD( ) returns only the text of the menu title; it doesn't include the special characters.