Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quit Vs. Cancel
Message
 
 
À
18/10/2010 18:18:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01486064
Message ID:
01486065
Vues:
90
>Hi friends.
>
>Excuse me for this question but I have a doubt
>
>I programed error events and when I can't manage it I alert the user the program is going to cancel...
>
>Then
>
>QUIT.
>
>The most times subsequents errors occur and I/we have to use Windows task admin. As I'm developping as it's run time
>
>If I use CANCEL instead of QUIT apparently I get what I want.
>
>If I read VFP help and it says "Always use QUIT to terminate a Visual FoxPro session. If you turn the computer off without issuing QUIT, open files might become damaged and data lost, and temporary work files that would normally be deleted may be left on disk." I might figure CANCEL is not a good solution.
>
>I can't understand why If I use QUIT the program goes on.
>
> Héctor

Try adding clear events also.
And ON SHUTDOWN before quit.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform