KeyUp KeyDown :: e.KeyCode always return upper case letter.

  • Thread starter Thread starter kids_pro
  • Start date Start date
K

kids_pro

Hi there,

I want to capture the last key press in a textBox.
So I decided to use KeyDown event and from the KeyEventArgs I read the
e.KeyCode
But when I type small letter the e.KeyCode always return upper case letter.
Is there any configuration so that I can capture the correct letter case?
Also in Vb I can change KeyAscii to another value. How can I do that in C#?

Regards,
kids
 
Back
Top