RELEASE MENUS Command

Removes user-defined menu bars from memory.

RELEASE MENUS [MenuBarNameList [EXTENDED]]

Parameters

  • MenuBarNameList
    Specifies the menu bars to be released from memory. Separate the menu bar names with commas.

  • EXTENDED
    Releases a menu bar and all its subordinate menus, menu titles, menu items, and all associated ON SELECTION BAR, ON SELECTION MENU, ON SELECTION PAD, and ON SELECTION POPUP commands.

Remarks

An active menu bar must first be deactivated with DEACTIVATE MENU before it can be released from memory.

If RELEASE MENUS is issued without any additional arguments, all user-defined menu bars are removed from memory.

See Also

Reference

DEFINE MENU Command

ON SELECTION BAR Command

DEACTIVATE MENU Command

ON SELECTION MENU Command

ON SELECTION PAD Command

ON SELECTION POPUP Command

Other Resources

Commands (Visual FoxPro)