Returns the number of menu titles on a user-defined menu bar or the Visual FoxPro system menu bar.
Syntax
CNTPAD(cMenuBarName)
Returns
Numeric
Arguments
cMenuBarName
Specifies the name of the menu bar for which CNTPAD( ) returns the number of menu titles.