By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,065 Members | 1,598 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,065 IT Pros & Developers. It's quick & easy.

*ENTER* key on a TEXTBOX

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
"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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.