473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

*ENTER* key on a TEXTBOX

Hello,

I've learned with leave & lostfocus on a text box. When I input data to a
text box, I have to use the TAB key to go to the next textbox. How can I use
the ENTER key to go to the next textbox as the TAB key does ?

Right now, when I press the ENTER key, windows beeps and nothing happens.

AcceptsReturn True or False on Properties does nothing to fix my problem.

Thank you again,

--
Super Basic programmer under DOS since 1983. Absolutely dummy (& new) VB.NET
programmer under Windows since september 2005 ! Most of you will agree to say
that it was about time to... upgrade !
Nov 21 '05 #1
2 5843
"Marcel Saucier" <Ma***********@discussions.microsoft.com> schrieb:
I've learned with leave & lostfocus on a text box. When I input data to a
text box, I have to use the TAB key to go to the next textbox. How can I
use
the ENTER key to go to the next textbox as the TAB key does ?

Right now, when I press the ENTER key, windows beeps and nothing happens.

AcceptsReturn True or False on Properties does nothing to fix my problem.


In Windows the tab key is used to turn focus between controls. However, the
behavior you describe can be archieved:

Enter instead of Tab
<URL:http://blogs.duncanmackenzie.net/duncanma/archive/2004/12/13/936.aspx>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2
the control's "SelectNextControl" might work for you
--
Dennis in Houston
"Marcel Saucier" wrote:
Hello,

I've learned with leave & lostfocus on a text box. When I input data to a
text box, I have to use the TAB key to go to the next textbox. How can I use
the ENTER key to go to the next textbox as the TAB key does ?

Right now, when I press the ENTER key, windows beeps and nothing happens.

AcceptsReturn True or False on Properties does nothing to fix my problem.

Thank you again,

--
Super Basic programmer under DOS since 1983. Absolutely dummy (& new) VB.NET
programmer under Windows since september 2005 ! Most of you will agree to say
that it was about time to... upgrade !

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Deano | last post by:
I think that just about sums it up. Is there a fix/workaround for this?It's quite annoying behaviour and not user-friendly.thanksMartin
7
by: deko | last post by:
I have a textbox in a form into which users enter a string to execute a search. After the user presses Enter, I'd like the focus to go back to the textbox, but the default behavior of the Enter...
5
by: Steve | last post by:
Hi, Is it possible to make hitting the enter key in an ASP textbox run the code behind an ASP button on a form? I have a search page which users tend to type in the query then just hit enter...
5
by: Girish | last post by:
I have TWO submit buttons of type IMAGE on my asp form. This renders as <input type="image">. I need to be able to eble the ENTER button for both buttons. Yes, I know that for the input type...
15
by: Adam J. Schaff | last post by:
I have noticed that if a user closes a form via pressing return (either while the OK button has focus or if AcceptButton is set to OK for the form) then the "ENTER" keypress event fires ON THE...
0
by: Tom Edelbrok | last post by:
I'm using VS 2005 to develop an intranet asp.net web application and I get a weird situation. If I start out with any ASPX page that contains an ImageButton control followed by a TextBox control,...
7
by: Marc | last post by:
Hi, I want my user to be able to rename a button control by selcting rename from a menu. This then opens a text box in which to enter the new name in. I want the button control to...
4
by: nkoier | last post by:
Hi, I've been going crazy trying to figure out what's wrong with our Asp.Net 2.0 intranet site. At the very top of our main page I provide a TextBox and a Button for submitting Google searches....
1
by: daonho | last post by:
I tried to use javascript to trigger up the button click function when user press enter key from the textbox. This function work fine with a single button click such has login page. However, if the...
6
by: Mark B | last post by:
I have a function that looks up a SQL table to see if a search term matches. It works fine but so far there are two things yet to work: 1) After entering a search term and pressing Enter, nothing...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.