|
-
Aug 21st, 2003, 05:59 AM
#4
Member
Don´t think you need 100 events like that.
You got one event which feels if the enter button is pressed down.
If enterbutton is pressed down. Just goto next textbox.
quote:
If e.KeyCode = Keys.Enter Then
TextBox2.Focus()
End If
--------------------
To something like...
if e.KeyCode = Keys.Enter Then
if TextBox1.Focus()=True Then
TextBox2.Focus()
elseif TextBox2.Focus()=True Then
TextBox3.Focus()
elseif...
...
...
Endif
Think you can do something like that
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|