Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble w/ runtime
Message
 
À
12/11/1998 18:10:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00157220
Message ID:
00157223
Vues:
18
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform