Returns the menu title for a given position on the menu bar.
Syntax
GETPAD(cMenuBarName, nMenuBarPosition)
Returns
Character
Arguments
cMenuBarName
Specifies the menu bar name.
nMenuBarPosition
Specifies a position on the menu bar. nMenuPosition can range from 1 (the leftmost menu title on the menu bar) through the number of menu titles on the menu bar.
Remarks
Menu names on a titles bar can be added, removed, or rearranged. Use DEFINE PAD to add a menu name to a title bar or RELEASE PAD to remove a menu title.