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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP 8.0 menu weirdness

Status
Not open for further replies.

BobMorris

Programmer
Jul 6, 2001
32
0
0
US
I'm baffled.

I'm converting an old Fox app to 8.0. It has a menu defined in the code.

When I do a REPORT FORM PREVIEW or DO FORM <name> the user defined menu disppears, and the System menu appears.

This was working, I have no idea what changed. On the REPORT FORM, the menu changes upon exiting the report, with DO FORM, it changes upon entering the form. If I run it as an EXE I have to use the task manager to kill the app.


Any help appreciated.

Bob Morris

** menu code

DEFINE MENU MAIN BAR AT LINE 0
etc.

ACTIVATE SCREEN TOP
lExitNow = .F.
DO WHILE .T.
ACTIVATE MENU MAIN
* set T in ExitMenu
IF lExitNow
EXIT
ENDIF
ENDDO


Bob Morris
 


Try adding SET SYSMENU off

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