Compartir a través de


CNTPAD( ) Function

Returns the number of menu titles on a user-defined menu bar or the Visual FoxPro system menu bar.

CNTPAD(cMenuBarName)

Return Value

Numeric

Parameters

  • cMenuBarName
    Specifies the name of the menu bar for which CNTPAD( ) returns the number of menu titles.

Example

The following command uses CNTPAD( ) to display the number of menu titles in the Visual FoxPro system menu bar.

? CNTPAD('_MSYSMENU')

See Also

Reference

ACTIVATE MENU Command

CNTBAR( ) Function

CREATE MENU Command

DEFINE PAD Command

DEFINE MENU Command

GETPAD( ) Function

MRKPAD( ) Function

ON PAD Command

ON SELECTION PAD Command

PRMPAD( ) Function

Other Resources

Functions

Language Reference (Visual FoxPro)