Works fine for me. That said, your code should be:or:vb.net Code:
If e.KeyCode = Keys.Right OrElse e.KeyCode = Keys.Down Then TextBox2.Select()You should not have two separate If blocks and you should not be calling Focus.vb.net Code:
Select Case e.KeyCode Case Keys.Right, Keys.Down TextBox2.Select() End Select




Reply With Quote