4D v14.3

Get menu bar reference

Home

 
4D v14.3
Get menu bar reference

Get menu bar reference 


 

Get menu bar reference {( process )} -> Function result 
Parameter Type   Description
process  Longint in Reference number of process
Function result  MenuRef in Menu bar ID

The Get menu bar reference command returns the ID of the current menu bar or the menu bar of a specific process.

If the menu bar was created by the Create menu command, this ID corresponds to the reference ID of the menu created. Otherwise, the command returns a specific internal ID. In all cases, this MenuRef ID may be used to reference the menu bar by all the other commands of the theme.

The process parameter can be used to designate the process where you want to get the current menu bar ID. If you omit this parameter, the command returns the menu bar ID of the current process.

Example  

Refer to the example of the GET MENU ITEMS command.

 
PROPERTIES 

Product: 4D
Theme: Menus
Number: 979

 
HISTORY 

Created: 4D v11 SQL

 
SEE ALSO 

SET MENU BAR

 
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)