I added 2 textboxes on the form and runs it...I pressed the enter after I type in simple text.. it will not goto next textbox but tab can do .. why ... no nay code.. strange....
You can try something like this:
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If e.KeyChar = Chr(13) Then
TextBox2.Text = TextBox1.Text
I just want it simple react like VB6, press the enter key after I finished enter the text then focus will jump to next textbox. that's it. isn't this a standard function that textbox should react ??? I use VB 2005 express..
Thank you Luc001,
it works, but this is doesn't make any sense to me, I thought change to next control after you press enter is intrinsic function ??? do I have to write this code in every textbox ??? is this happen to everyone ?? or just me ??