General information
Category:
Menus & Menu designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only