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