get char from KeyChar
C#
4
Posts
2
Posters
0
Views
1
Watching
-
Hello in keypress event for a text box i want to convert the e.KeyChar into the actual character how do i make it do this?
-
Hello Tyrus, I think two things are possible here. Inside your keypress event: 1) if(e.KeyChar == ??) { e.Handled = true; SendKeys.Send("{???}"); } 2) if(e.KeyChar == ??) { e.Handled = true; textbox.Text.Insert.... } All the best, Martin