PRB: Menu Appears, Then Application Exits to Operating System (87694)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft FoxPro for MS-DOS 2.0
- Microsoft FoxPro for Macintosh 2.6a
- Microsoft Visual FoxPro for Macintosh 3.0b
This article was previously published under Q87694 SYMPTOMS
The Microsoft FoxPro menu program works in the development version of
FoxPro. However, if you are using the distribution version of the files (a
stand-alone executable), the menu appears, then the application exits to
the main operating system environment, either MS-DOS, Windows or the
Macintosh desktop.
CAUSE
When a menu is generated, running the .MPR file does not put you in an
event loop or a wait state.
RESOLUTION
Incorporate a Foundation READ command into the application.
NOTE: Although the Foundation READ can be used in Visual FoxPro, the
preferred method is to incorporate a READ EVENT.
REFERENCES
FoxPro for Windows Distribution Kit "User's Guide," page 12.
FoxPro for MS-DOS Distribution Kit "User's Guide," page 10.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | KB87694 |
---|
|