Count menu items

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)


Count menu items (menu{; process}) Number

ParameterTypeDescription
menuNum | MenuRefMenu number or Menu reference
processNumberProcess reference number
Function resultNumberNumber of menu items in the menu

Description

The Count menu items command returns the number of menu items present in the menu whose number or reference is passed in menu.

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

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

See Also

Count menus.


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