Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What does Lastkey() equivalent in DOT NET?
Message
De
01/02/2005 00:57:17
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
00982162
Message ID:
00982590
Vues:
27
Tony,

Try the KeyDown event ... it handles the special characters that KeyPress doesn't handle.

~~Bonnie



>Hi Einar,
>
>There are some keys in keypress args that couldn't catch, the one I am particular needed is the TAB and SHIFT TAB, and they need to be detected within a grid control, which doesn't fire in the form even with the keypreview on. What I am trying to do is to disable a specific cell in the grid, the way I am making it work is to handle is at CurrentCellChanged Event to force it focus on the next cell but if the user was coming from the next cell, the focus just won't move... That what the INKEY() come in handy if it got one
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform