I want to exchange the functioning of backspace and delete key e-g if i press backspace it should delete the character on the right side of cursor and vicee versa for delete key. How can i implement this in rtb?

Write the code for exchanging the keycodes in the KeyDown Event of the rtb.

You need to handle the keystrokes in the Keypress/keydown event of the control.

I hav got it. thnx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.