Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validing Keystrokes in an Input field
Message
De
12/01/2000 19:55:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00317341
Message ID:
00317348
Vues:
11
>I would like to validate every stroke within an input field so restrict data entry to valid chars.
>
>Is there a property I can just set allowable keystrokes or I do I code this?
>
>Thanks

PUt some code in the KeyPress to trap for alpha chars.

IF !ISALPHA(CHR(nKeyCode))
NODEFAULT
ENDIF
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform