Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Identifing the current control name
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00112518
Message ID:
00112565
Vues:
30
>As I understand it, you want the user to be able to click cancel on your form
>without firing the validation routines for whatever field they are on. here
>you can take advantage of the fact that when clicking a button, the Button's
>When event fires before the current controls lostfocus.

I think I prefer the answer which is usually given here to this question. Set the button.Cancel property = .T. This will make it act as if the Escape key has been hit, so that you can check IF LASTKEY()=27 at the beginning of your validation code.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform