Answered by:

exchange backspace with delete

Question

Is there any way to exchange backspace with delete key. I hav used this code in key_down event of rtbif e.KeyCode = Keys.Back then SendKeys.Send ("{DELETE}")endifbut now it works as both backspace and delete.

Calwar,jwavila's code will work just fine, however, I would advice you to rethink this. I surely don't know anything about your application but the BACKSPACE key is BACKSPACE for a reason; remapping it within a user control such as a RichTextBox control might cause confusion for the user, so, imho it would be wise sticking with standards.

Just my 2 cents though ... ! :-)Listing SPEC's is not a review !!! :-)