Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot Quit Visual Fox Pro
Message
De
14/12/1999 22:23:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00303680
Message ID:
00303857
Vues:
21
>>Good afternoon all!
>>
>>I have a problem that I'm hoping someone will be able to clear up. I've created an executable that I'm not able to exit. I just get a dialogue box with the message "Cannot Quit Visual Fox Pro" with an o.k. button. The only way out is to End Task.
>
>ON SHUTDOWN DO shtdwn IN MAIN
>
>FUNCTION shtdwn
>ON ERROR && reset error trapping
>ON SHUTDOWN && reset shutdown trapping
>SET CLASSLIB TO && release all class libraries
>SET PATH TO && reset the search path
>CLEAR ALL && release all variables, tables, etc.
>CLOSE ALL && close all tables, forms, databases, etc.
>QUIT
>
>
>HTH

You still need a CLEAR EVENTS. The "Cannot Quit" message comes from issuing quit or clicking the "x" while in an event loop. IMHO, most of the commands above are not necessary because quitting the app takes care of them automatically.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform