Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Escape key discard control changes
Message
De
05/06/1998 13:43:11
 
 
À
05/06/1998 13:39:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00105232
Message ID:
00105250
Vues:
24
>
>The advantage of 'Cancel' button is exactly what you seemingly don't like: going around last control Valid event. So, you can just go to Form.Keypress event, check for ESC there and run you code to close the form, etc.

I have some forms with this way to close it: the keypress event of the form and the keypreview property of the form. But i've not tested if changes mades in last control are validated. Are they?
If you don't want, dont answer me. I'll test it. Thanks a lot.
Saludos,
A.G.P.
---------
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform