Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble w/ runtime
Message
 
To
12/11/1998 18:10:57
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00157220
Message ID:
00157223
Views:
19
Your problem is that after a menu program runs the program will finish executing if nothing stops it. In the full version you just end up at the command window but in the run-time the program just ends.

After you run your menu, put a READ EVENTS. Then in the exit bar of your menu, CLEAR EVENTS. This will make VFP wait at the menu until you CLEAR EVENTS.

>I have a app which includes a menu, form, and various PRGs. start.prg is compiled into an exe and it calls main.prg:
>
>main.prg:
>do menu.mpr
>do form main
>
>When I run the exe, the runtime starts, then immediatly closes, without leaving time for the user to do anything. How can I stop this from happening. I tried making the form modal, but then the user cannot access the menu. This code works fine in the full version, but runs through without stoping in the runtime. Any help would be appreciated.
Previous
Reply
Map
View

Click here to load this message in the networking platform