Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filtering Keys Pressed
Message
De
07/10/2004 03:30:29
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Filtering Keys Pressed
Divers
Thread ID:
00949438
Message ID:
00949438
Vues:
50
Good afternoon! Just would like to know how to filter keys pressed when focus is set on a TextBox control. Like I would like to prevent the user from entering characters, other than alphabets, on a textbox. Right now I am able to clean it out after the control looses the focus. In VB6 it was possible to validate the key pressed by the user and prevent it from being displayed. But the system variable e.KeyValue is read-only. Therefore, I can not set it to NULL.

Any ideas on how I can achieve this?

Thanx! in advance...

Martin
Shit happens!!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform