Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing the form.
Message
 
À
16/05/1997 13:56:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00032608
Message ID:
00032611
Vues:
38
>When the user clicks to close the active form, I would like to prompt to save changes if any have been made to the current record. My close button is already aware of changes, and deals with the situation accordingly, but can I prevent the form from closing after the user clicks the 'x', if he/she selects cancel from the resulting messagebox?
>Restated: once the user clicks to close the form, can I negate that action?

this calls (i think) the form destroy event. put the code in there to check and cancel form closing if necessary.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform