|
-
Sep 30th, 2002, 01:01 PM
#1
Thread Starter
Junior Member
Text.Box Navigation With Enter
I have 3 TextBoxes and 1 Button.
I want to navigate using Enter instead of Tab.
What do you think that is the reson, for why Microsoft didn't offer this alternative ?
Please ! Thanks
-
Sep 30th, 2002, 03:06 PM
#2
Fanatic Member
Because it's not that hard to add it:
Code:
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If e.KeyChar = Microsoft.VisualBasic.ChrW(Keys.Enter) Then
TextBox2.Select()
e.Handled = True
End If
End Sub
-
Sep 30th, 2002, 04:16 PM
#3
Thread Starter
Junior Member
I tried ,but I fogot to say that I wanted in Web Form ASP.NET an .aspx.
Any ideea in this case?
Thanks
-
Sep 30th, 2002, 04:24 PM
#4
New Member
What do you think that is the reson, for why Microsoft didn't offer this alternative ?
1. It is standards behaviour and it is nice for users if most programms function similar
2. Multiline TextBoxes wouldn't know if they should add a new line or move to the next field
3. In many programms the Enter Key is meant to act as if OK or Submit was clicked
best regards
Sascha
-
Sep 30th, 2002, 05:31 PM
#5
Fanatic Member
Probably you're better off asking in the ASP .NET forum.
-
Sep 30th, 2002, 08:38 PM
#6
-
Oct 1st, 2002, 07:29 AM
#7
Thread Starter
Junior Member
The problem is that I came from a background of programming in FilePro for Unix.
In that case when you hit Enter after you entered the data in a text box you jump in other textbox.
It is very difficult to convince people that are working in that environment 20 years to work with Tab instead of Enter. I think
that Enter is a more logical option that Tab.
Please try to help me even you don't agree!
Thanks.
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
|