Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing a menu
Message
From
28/07/1999 07:17:40
 
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00246985
Message ID:
00247037
Views:
21
Hi Ed,

Thanks for the reply you got the problem nailed... I was not naming the menu bar and trying to release the file name...

Thanks

>
>How are you using DEACTIVATE MENU? You need to specify the name of Menu Bar created with the DEFINE MENU command, not with the name of the .MPR file that loads the menu bar. DEACTIVATE MENU should release the specified menu bar from the screen, but doesn't release the menu bar's definition and actions from memory; AFAIK, the only ways to clear the definition itself is with CLEAR MENUS (not terrily selective), DEACTIVATE MENU menu bar name followed by a RELEASE MENU menu bar name, which releases the menu bar but not its subordinate components and related ON statements in effect, or DEACTIVATE MENU menu bar name followed by a RELEASE MENU menu bar name EXTENDED, which releases not only the menu bar, but its subordinate components and related ON statements. The exact relationships are discussed in the on-line help.
>
>
>For a simple example, if in MyMenu.MPR, I have a DEFINE MENU
>>Thanks
>>
>>>Hi John,
>>>
>>>>When I put a menu up with DO MyMenu.mpr and the menu is checked to be added to the previous menu how do I release the menu when it is no longer needed. I have tried RELEASE, HIDE, and a few others...
>>>
>>>I'm not at a VFP system right now, but look at DEACTIVATE MENU or pad or bar or whatever it is.
Previous
Reply
Map
View

Click here to load this message in the networking platform