POP MENU Command
Visual Studio 2005
Restores the specified menu bar definition that was placed on the stack with PUSH MENU.
POP MENU MenuBarName [TO MASTER]
Parameters
- 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.
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.
Menu definitions take up memory, so every POP MENU should have a corresponding PUSH MENU to make sure your application's memory usage does not grow unnecessarily.