Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows close button
Message
 
 
À
02/12/2005 11:23:22
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01074279
Message ID:
01074288
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>It is my understanding that if I let my forms have a close button, when the user clicks on the close button, the form will close and there is nothing my code can do to stop the close. I can get control in QueryUnload (and save the data in the form if it passes all the validations or throw it away if it fails the validations). In Word if I click on the close button in the upper right, I am given the option to stop the close (if there is unchanged stuff in the document). My VFP apps should behave the same way. What do I do?

Conditionaly return NODEFAULT in QueryUnload to prevent form from closing.

<snip>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform