PRB: Menu Appears, Then Application Exits to Operating SystemLast reviewed: January 27, 1997Article ID: Q87694 |
The information in this article applies to:
SYMPTOMSThe 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.
CAUSEWhen a menu is generated, running the .MPR file does not put you in an event loop or a wait state.
RESOLUTIONIncorporate 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.
MORE INFORMATION
Foundation READTo incorporate a foundation READ command in an application, do the following:
REFERENCESFoxPro for Windows Distribution Kit "User's Guide," page 12. FoxPro for MS-DOS Distribution Kit "User's Guide," page 10.
|
Additional reference words: VFoxMac 3.00b FoxDos FoxWin FoxMac VFoxWin 2.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |