I have 100 text box controls on a Form. Every time I hit the Enter Key, I want the cursor to jump to the next control.... I have set the Tab Order Correctly and am good there.
This code works fine if I copy and paste it into every KeyPress Event in every TextBox.
If Asc(e.KeyChar) = Keys.Enter Then
e.Handled = True
Is there an easier way? Can this be done at the Form Level?
Along the same lines - is there a snipet to have the cursor jump to the left side of the text box... me.textbox.SelectionLength = 0