Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the next filed?
Message
De
22/10/1997 15:06:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00056004
Message ID:
00056137
Vues:
38
>>>>IMHO, there are no normal ways to do this, and this is one more reason to move validation into one place (e.g. cmdSave.click). However, you can make some trick using cmdExit.MouseMove event.
>>>Ed,
>>>
>>>There is one "normal" way to do this, set the cancel property of the exit button to .T. and check for LASTKEY()=27 in the valid of all controls.
>>
>>If I remember right, the initial question was how to avoid textbox validation if a user clicks on 'Exit' button, not specifically pressing ESC.
>Ed,
>
>If the exit button has the cancel property set to .T. clicking it makes lastkey() = escape before the vlaid of the current control fires.

Thank you for information. I really didn't know about this, probably because I don't use 'Escape' button.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform