JavaScript Editor js editor     Web development 



Main Page

These commands and functions make it possible for you to develop, display, and activate user-defined menus and menu bars.

Use To

\ | \\ Command

Print or display lines of text.

ACTIVATE POPUP Command

Display and activate a menu.

BAR( ) Function

Return the number of the most recently chosen item from a menu defined with DEFINE POPUP or a menu item chosen from a Visual FoxPro menu.

BARPROMPT( ) Function

Included for compatibility with dBASE.

CLEAR Commands

Release the specified item or items from memory.

CLEAR Commands

Release the specified item or items from memory.

CNTBAR( ) Function

Return the number of menu items on a user-defined menu or the Visual FoxPro system menu.В 

CNTPAD( ) Function

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

CREATE MENU Command

Open the Menu designer in Visual FoxPro.

DEACTIVATE MENU Command

Deactivate a user-defined menu bar and remove it from the screen.В 

DEACTIVATE POPUP Command

Deactivate a menu created with DEFINE POPUP.

DEFINE BAR Command

Create a menu item on a menu created with DEFINE POPUP.

DEFINE MENU Command

Create a menu bar.

DEFINE PAD Command

Create a menu title (pad) on a user-defined menu bar or the Visual FoxPro system menu bar.

DEFINE POPUP Command

Create a menu.В 

GETBAR( ) Function

Return the number of an item on a menu defined with DEFINE POPUP or the Visual FoxPro system menu.

GETPAD( ) Function

Return the menu title for a given position on the menu bar.

HIDE MENU Command

Hide one or more active user-defined menu bars.

HIDE POPUP Command

Hide one or more active menus created with DEFINE POPUP.

MODIFY MENU Command

Open the Menu designer so you can modify or create a menu system.

MOVE POPUP Command

Move a user-defined menu created with DEFINE POPUP to a new location.

MRKBAR( ) Function

Determine whether a menu item on a user-defined or Microsoft Visual FoxPro system menu is marked.

MRKPAD( ) Function

Determine whether a menu title on a user-defined menu bar or on the Visual FoxPro system menu bar is marked.

ON BAR Command

Specify a menu or menu bar that is activated when you choose a specific menu item from a menu.

ON EXIT BAR Command

Included for compatibility with dBASE.

ON EXIT MENU Command

Included for compatibility with dBASE.

ON EXIT PAD Command

Included for compatibility with dBASE.В 

ON EXIT POPUP Command

Included for compatibility with dBASE.

ON PAD Command

Specify the menu or menu bar that is activated when you choose a specific menu title.

ON SELECTION BAR Command

Specify a command that executes when you choose a specific menu item.

ON SELECTION MENU Command

Specify a command that executes when you choose any menu title on a menu bar.

ON SELECTION PAD Command

Specify a command that executes when you choose a specific menu title on a menu bar.

ON SELECTION POPUP Command

Specify a command that executes when you choose any menu item from a specified menu or from all menus.

PAD( ) Function

Return as an uppercase character string the menu title most recently chosen from a menu bar, or returns a logical value indicating if a menu title is defined for an active menu bar.

POP MENU Command

Restore the specified menu bar definition that was placed on the stack with PUSH MENU.

POP POPUP Command

Restore the specified menu definition that was placed on the stack with PUSH POPUP.

POPUP( ) Function

Return as a string the name of the active menu, or a logical value indicating if a menu has been defined.

PRMBAR( ) Function

Return the text of a menu item.

PRMPAD( ) Function

Return the text of a menu title.

PROMPT( ) Function

Return the text for a menu title chosen from a menu bar or for a menu item chosen from a menu.

PUSH MENU Command

Place a menu bar definition in a stack of menu bar definitions in memory.

PUSH POPUP Command

Place a menu definition on a stack of menu definitions in memory.

RELEASE BAR Command

Remove a specified menu item or all menu items on a menu from memory.

RELEASE MENUS Command

Remove user-defined menu bars from memory.

RELEASE PAD Command

Remove a specific menu title or all menu titles from memory.

RELEASE POPUPS Command

Remove a specific menu or all menus from memory.В 

SET MARK OF Command

Specify a mark character for menu titles or menu items, displays, or clear the mark character. В 

SET SKIP OF Command

Enable or disable a menu, menu bar, menu title, or menu item for user-defined menus or the Microsoft Visual FoxPro system menu.В 

SIZE POPUP Command

Change the size of a menu created with DEFINE POPUP.В 

SKPBAR( ) Function

Determine if a menu item is enabled or disabled with SET SKIP OF.

SKPPAD( ) Function

Determine whether a menu title is enabled or disabled with SET SKIP OF.В 

SHOW MENU Command

Display one or more user-defined menu bars without activating them.В 

SHOW POPUP Command

Display one or more menus defined with DEFINE POPUP without activating them.В 

SYS(2013) - System Menu Name String

Return a space-delimited character string containing the internal names of the Visual FoxPro menu system.В 

See Also

Reference

Menu Designer

Other Resources

Input and Output (Visual FoxPro)
Language Categories



JavaScript Editor js editor     Web development