Expand Minimize
This topic has not yet been rated - Rate this topic

RELEASE PAD Command

Removes a specific menu title or all menu titles from memory.


RELEASE PAD MenuTitleName OF MenuBarName | ALL OF MenuBarName

Parameters

MenuTitleName OF MenuBarName

Specifies the menu title to remove from memory.

You can remove a menu title from the Visual FoxPro system menu bar by specifying its name in MenuTitleName. For example, the command RELEASE PAD _MEDIT OF _MSYSMENU removes the Edit menu title from the Visual FoxPro system menu bar.

ALL OF MenuBarName

Specifies that every menu title in a user-defined menu bar is removed from memory. The ALL clause cannot be used to remove menu titles from the Visual FoxPro system menu bar.

The following example removes the Window menu title from the system menu bar.

PUSH MENU _MSYSMENU
RELEASE PAD _MSM_WINDO OF _MSYSMENU  && Removes Window menu title

WAIT WINDOW 'Press a key to restore the default menu'
POP MENU _MSYSMENU  && Restore default Visual FoxPro menu system
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.