This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19.8
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

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v19)
4D Language Reference ( 4D v19.1)
4D Language Reference ( 4D v19.4)
4D Language Reference ( 4D v19.5)
4D Language Reference ( 4D v19.6)
4D Language Reference ( 4D v19.7)
4D Language Reference ( 4D v19.8)