Functioning of Enter, Escape and Backspace Keys in Textbox
Sir, I am now doing a Program that has numbers of text boxes , combo Boxes and datetimePickers.
I needed the code to:-
Function: Enter, Back Space and Escape Keys.
I got the Code to function Enter Key:-
(if(e.key code==keys.Enter)
{
textBox2.Focus)
}
but what i need is when I press Enter Key from text Box1, i want to cursor to be in the starting Point to the textBox2 if text Box is !=null
when I press Back Space Key, i want to return to the Starting Point previous text Box if text Box!=null
if all text Box is ==string.Empty, I want the rounding of cursor throughout all the text Box when press Back Space Key.
Please help me.