Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON SHUTDOWN causes strange error...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00020073
Message ID:
00020175
Vues:
36
>You need to clear your READ EVENTS before you try to shutdown VFP. It is much better to clear your environment before trying to exit VFP.

Well, my ON SHUTDOWN procedure has CLEAR EVENTS as the first line in the procedure, but it never even actually gets to my procedure. The only thing I can think of is that you can't trigger ON SHUTDOWN if you're still processing events. And since you don't know when someone might try to click on the "X" button, you can't CLEAR EVENTS before they click it. Is there a QueryUnload event for the main Visual FoxPro window? If so, I can just take care of my business there. If not, I'll just have to disable the little "X" button in the title bar (or not have an ON SHUTDOWN). :(

Thanks!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform