Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On shutdown problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00082315
Message ID:
00082321
Vues:
33
>I have a large app, many forms/formsets, though only some open at any one time. I have a cleanup prg which runs on shutdown. All is fine except when a there are some unsaved edits in the buffer, and the user closes via the main vfp window (X, icon, menu).
>
>Then I get errors from the buffering, because the shutdown/cleanup runs before the queryunload. What's a good way to deal with this?

You can force QueryUnload (or any other form event code) first just issuing formset1.form1.QueryUnload from shutdown routine.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform