Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What does Lastkey() equivalent in DOT NET?
Message
From
01/02/2005 00:57:17
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
00982162
Message ID:
00982590
Views:
28
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
Previous
Reply
Map
View

Click here to load this message in the networking platform