Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quit Ignored
Message
De
26/01/2012 12:10:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 7
Divers
Thread ID:
01533811
Message ID:
01533834
Vues:
50
>>What are some of the reasons that the Quit command would be ignored?
>>
>>I have a form where an error is happening in one of its methods. The form itself has no code in the error method. I have an On Error handler that is being called. It logs the error and for this particular error has:
>>
>>
>>On Shutdown Quit
>>Quit
>>
>>
>>The next thing I see is another error on the next line of the form method, duly logged by the error handler and which also should QUIT.
>>
>>This system is a mashup of SPRs and forms, so I suspect I'm not clearing something in the error handler that should be cleared before quitting. The call stack has 2 SPRs, and a PRG that calls the form and then does a Read Events.
>>
>>Any help appreciated.
>>
>>June
>
>Try adding CLEAR ALL before the QUIT line.
Hi,
instead of your
on shutdown quit
quit
i would use
on shutdown clear events
clear all
relase all
cancel all
quit
where I find the quit quite unfriendly to say the least

Regards,

Koen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform