I expect that this problem is simply my inexperience with menus. I inherited this application and it's different from anything I've ever written.
It was written ten or so years ago. It has always been run within the development environment. The program starts initializes some variables, opens some tables, sets up the menu, and stops. The menu items that are chosen call various procedures within the main program through a "Set Procedure" statement. This works fine within the development environment; VFP is still running.
The problem comes when I compile the program into an EXE. When the program Returns, there's no window open so no menu to choose from. How do I keep the main window open until the user chooses the menu item to exit?
TIA,
Shanachie
It was written ten or so years ago. It has always been run within the development environment. The program starts initializes some variables, opens some tables, sets up the menu, and stops. The menu items that are chosen call various procedures within the main program through a "Set Procedure" statement. This works fine within the development environment; VFP is still running.
The problem comes when I compile the program into an EXE. When the program Returns, there's no window open so no menu to choose from. How do I keep the main window open until the user chooses the menu item to exit?
TIA,
Shanachie