471,123 Members | 866 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,123 software developers and data experts.

last pressed key in a DataGrid or in a Form

Hello

How can I identify what was the last pressed key in a DataGrid or in a Form?

Thanks in advance

Hamed
Oct 9 '06 #1
1 1102
Hi,

Have you tried handling the KeyPress event and assigning the KeyCode to a variable?

The last key pressed is the current value in your variable, whenever your code attempts to read it.

--
Dave Sexton

"Hamed" <ha***@raymehr.comwrote in message news:OF**************@TK2MSFTNGP04.phx.gbl...
Hello

How can I identify what was the last pressed key in a DataGrid or in a Form?

Thanks in advance

Hamed

Oct 10 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by josh dismukes | last post: by
8 posts views Thread by Syed Ali | last post: by
1 post views Thread by Byron McClain | last post: by
19 posts views Thread by darrel | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.