Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Key Press Event
Message
De
09/12/1999 22:54:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00301498
Message ID:
00301514
Vues:
26
>I'm trying to build a txtbox that only accept numbers and ?,* symbols and esc,backspace,home,end,enter etc (no letters).
>How can i delete de key value from the buffer so if it's not one of the above, doesn't include in the txtbox.value.


If they character isn't one that you want, use NODEFAULT. It will keep the textbox from processing the keystroke. For example:

IF Alpha
NODEFAULT
ENDIF
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform