Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Canceling a form with the close button
Message
De
01/08/1999 15:26:20
 
 
À
01/08/1999 14:50:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00248686
Message ID:
00248690
Vues:
11
Hi Antonio,

>Can I assign a method to be executed when the user closes a form by clicking Window´s close control box on the upper right hand corner, or can I assign this button the same click method of the form´s CANCEL button ? Do I explain myself ?

If you put your code in the destroy event, and in your command button put : thisform.release(), your code in the destroy event will be called if you close the form with the 'X' up in the corner or if you click your command button.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform