Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Input format
Message
De
26/11/2009 12:22:47
 
 
À
26/11/2009 12:07:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01436658
Message ID:
01436659
Vues:
80
>Hi All
>
>If I want to ensure that entry into a field on a form is only A to Z and 0 to 9 and spaces whats the best method.
>
>TIA
>
>Happy Thanksgiving to al in the US as well.

In Keypress:
if !(IsAlpha(chr(nKeyCode)) or isdigit(chr(nKeyCode)) or nKeyCode=32)
  nodefault
endif
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform