4D v14.3

Get menu item

Home

 
4D v14.3
Get menu item

Get menu item 


 

Get menu item ( menu ; menuItem {; process} ) -> Function result 
Parameter Type   Description
menu  Longint, MenuRef in Menu number or Menu reference
menuItem  Longint in Menu item number or -1 for last item added
process  Longint in Process reference number
Function result  String in Text of the menu item

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.

 
PROPERTIES 

Product: 4D
Theme: Menus
Number: 422

Not for server

 
HISTORY 

Modified: 4D v11 SQL

 
SEE ALSO 

Get menu item key
SET MENU ITEM

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)