Get menu item

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11 (Modified)


Get menu item (menu; menuItem{; process}) String

ParameterTypeDescription
menuNumber | MenuRefMenu number or Menu reference
menuItemNumberMenu item number or
-1 for last item added
processNumberProcess reference number
Function resultStringText of the menu item

Description

The Get menu item command returns the text of the menu item whose menu and item numbers are passed in menu and menuItem. You can pass -1 in menuItem in order to indicate the last item added to menu.

If you omit the process parameter, Get menu item applies to the menu bar for the current process. Otherwise, Get menu item applies to the menu bar for the process whose reference number is passed in process.

Note: If you pass a MenuRef in menu, the process parameter serves no purpose and will be ignored.

See Also

Get menu item key, SET MENU ITEM.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next