POP MENU Command

Example   See Also

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

Syntax

POP MENU MenuBarName
  [TO MASTER]

Arguments

MenuBarName

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

TO MASTER

Restores the first menu bar definition pushed onto the stack, and then clears the stack.

Remarks

When used with PUSH MENU, POP 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 bars are placed on and removed from the stack in last-in, first-out order.