Removes a specified menu item or all menu items on a menu from memory.
Syntax
RELEASE BAR nMenuItemNumber OF MenuName | ALL OF MenuName
Arguments
nMenuItemNumber OF MenuName
Specifies a menu item in a user-defined menu to remove from memory. To remove a menu item from a Microsoft Visual FoxPro system menu, include the internal Visual FoxPro system menu item name in nMenuItemNumber. For more information, see the System Menu Names online topic.
ALL OF MenuName
Specifies that every menu item on a user-defined menu is removed from memory. ALL cannot be used to remove menu items from a Visual FoxPro system menu.