S
Steve
Hi,
I want to determine which key was pressed in a control,
like a datagrid. I see that in the currentcellchanged
event of a datagrid I can capture keystroke events. I
have tried someting like the following:
Dim ky As New KeyPressEventArgs(Convert.ToChar(27))
but this sets ky to the Escape key. I really want to
capture the number that goes in Convert.ToChar(...). How
can I capture that value?
Thanks,
Steve
I want to determine which key was pressed in a control,
like a datagrid. I see that in the currentcellchanged
event of a datagrid I can capture keystroke events. I
have tried someting like the following:
Dim ky As New KeyPressEventArgs(Convert.ToChar(27))
but this sets ky to the Escape key. I really want to
capture the number that goes in Convert.ToChar(...). How
can I capture that value?
Thanks,
Steve