Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Release Menu

Status
Not open for further replies.

FattyKat

Programmer
Joined
Feb 21, 2002
Messages
32
Location
IN
I have an independent Menu i.e doesnt run in any form problem is, everytime I activate the menu i cant return to the default VFP Menu.I am therefore forced to close the app. & open it afresh.

I tried using this code:

release menu(mymenu.mpr)


IDEAS??
[poke]
 
Look for set sysmenu to default.

Charl
 
FattyKat,
Are you replacing the existing menu with the "Independent" menu? If so, try the following:

PUSH MENU _SYSMENU

DO NEWMENU.MPR

.
.
.
continue

Then, when you are done with your "Indpendent" menu, issue:

POP MENU

What this does, is "Pushes" your existing menu onto the Stack, you then Call the NEW menu, and when you are done with it, you "POP" the old menu off the stack (and voila, Bob's your Uncle.)

Best Regards,
Scott

Please let me know if this has helped [hammer]
 
Thanx guyz, it has worked!
 
Can this custom menu run inside myform instead of over the system menu? How?

[poke]
 
FattyKat

Yes you can, but only to top-level forms (faq184-2860)

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top