PUSH MENU Command

Example   See Also

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

Syntax

PUSH MENU MenuBarName

Arguments

MenuBarName

Specifies the name of the menu bar whose definition is placed on the stack. The menu bar can be user-defined or the Visual FoxPro system menu bar.

Remarks

When used with POP MENU, PUSH MENU lets you save a menu bar definition, make changes to the menu bar definition, and then restore the menu bar definition to its original state.

Menu bar definitions are placed on and removed from the stack in last-in, first-out order.