Groups | Blog | Home
all groups > c# > january 2006 >

c# : the backspace key code


vially
1/15/2006 11:33:03 PM
Kevin Spencer
1/16/2006 8:48:40 AM
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.

[quoted text, click to view]

dahuzizyd
1/16/2006 3:42:01 PM
You could use this :
private void textBox1_KeyPress(object sender,
System.Windows.Forms.KeyPressEventArgs e)
{
MessageBox.Show(Convert.ToInt32(e.KeyChar).ToString());
}



[quoted text, click to view]
AddThis Social Bookmark Button