4D v16.3

Count menus

Home

 
4D v16.3
Count menus

Count menus 


 

Count menus {( process )} -> Function result 
Parameter Type   Description
process  Longint in Process reference number
Function result  Longint in Number of menus in the current menu bar

The Count menus command returns the number of menus present in the menu bar.

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



See also 

Count menu items

 
PROPERTIES 

Product: 4D
Theme: Menus
Number: 404

Not for server

 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)