Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancel destroy event?
Message
 
 
À
15/07/2008 19:44:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01331480
Message ID:
01331535
Vues:
8
>I have a problem with QueryUnload.
>
>If I click on VFP Close button I get Form.ReleaseType = 1 instead of Form.ReleaseType = 2.
>
>That is maybe because I have statement ON SHUTDOWN goApp.MyProcedureForShutdown() but I am not sure.
>
>Any ideas?
>

Do you mean when you click on the VFP main screen close button, not the form's button? In this case the ON SHUTDOWN routine fires, not the form QueryUnload. You need to close all open forms in this case. See How can I release all open forms FAQ #7975
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