471,350 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

the backspace key code

I'm creating a keyboard in c# and I really need the code for backspace key...
Jan 16 '06 #1
2 9445
You could use this :
private void textBox1_KeyPress(object sender,
System.Windows.Forms.KeyPressEventArgs e)
{
MessageBox.Show(Convert.ToInt32(e.KeyChar).ToStrin g());
}

"vially" <vi****@discussions.microsoft.com> wrote in message
news:04**********************************@microsof t.com...
I'm creating a keyboard in c# and I really need the code for backspace
key...


Jan 16 '06 #2
The character is 8.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

"vially" <vi****@discussions.microsoft.com> wrote in message
news:04**********************************@microsof t.com...
I'm creating a keyboard in c# and I really need the code for backspace
key...

Jan 16 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Dennis Craven | last post: by
1 post views Thread by haxmya | last post: by
6 posts views Thread by Robert Nurse | last post: by
17 posts views Thread by Julia Briggs | last post: by
7 posts views Thread by Tamir Khason | last post: by
3 posts views Thread by Mike L | last post: by
6 posts views Thread by vedrandekovic | 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.