Share via


HIDE POPUP Command

Hides one or more active menus created with DEFINE POPUP.

HIDE POPUP MenuName1 [, MenuName2 ...] | ALL [SAVE]

Parameters

  • MenuName1 [, MenuName2 ...]
    Specifies the name of the menu or a list of menus (separated by commas) to hide.
  • ALL
    Hides all defined menus.
  • SAVE
    Places an image of a menu in the main Visual FoxPro window or in a user-defined window. Placing an image of a menu on the screen is useful during program development and testing. Menu images can be cleared from the main Visual FoxPro window or from a user-defined window with CLEAR.

Remarks

HIDE POPUP removes the specified menu, a set of menus, or all menus from the main Visual FoxPro window or from a user-defined window without removing the menu definitions from memory. Before a menu can be hidden, it must first be created with DEFINE POPUP. Hiding a menu isn't the same as deactivating it. When a menu is hidden, it stays resident in memory and can be displayed in the main Visual FoxPro window or in a user-defined window with ACTIVATE POPUP or SHOW POPUP.

See Also

ACTIVATE POPUP | DEFINE BAR | DEFINE POPUP | SHOW POPUP