Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the next filed?
Message
 
À
22/10/1997 14:57:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00056004
Message ID:
00056135
Vues:
41
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform