Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to trap close button
Message
De
08/02/2008 16:52:23
 
 
À
08/02/2008 10:12:55
Valter Molina
Molina & Nardi Ltda
Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Divers
Thread ID:
01290803
Message ID:
01290929
Vues:
9
>How can I control when the user clicks on the X to close a Form?
>Is there a way to not let the form close when the X is clicked?
>I tried the Destroy method, but it only happens when the form is already closing.
>I need to controle whether I can let the user close or not the current form or be certain that the user realy wants to close it asking him.


Put your trapping code in the QueryUnload Event of the form.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform