Returns the number of menu titles on a user-defined menu bar or the Visual FoxPro system menu bar.
CNTPAD(cMenuBarName) |
Parameters
- cMenuBarName
-
Specifies the name of the menu bar for which CNTPAD( ) returns the number of menu titles.
Return Value
Numeric
Example
The following command uses CNTPAD( ) to display the number of menu titles in the Visual FoxPro system menu bar.
Copy Code | |
|---|---|
? CNTPAD('_MSYSMENU') | |
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08