Home
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
VB.NET
VB.NET General Discussion
Make "Enter" Key respond like TAB?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JuggaloBrotha" data-source="post: 6123" data-attributes="member: 13"><p>there's no magic function for this so you're going to need to code each textbox to move to the next one.</p><p></p><p>in the textbox's KeyUp event:</p><p>[code]</p><p>Private Sub Textbox2_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Textbox2.KeyUp</p><p> If e.KeyValue = 13 Then Textbox3.Focus() 'Enter Key</p><p> If e.KeyValue = 27 Then Textbox1.Focus() 'Escape Key</p><p>End Sub</p><p>[/code]</p></blockquote><p></p>
[QUOTE="JuggaloBrotha, post: 6123, member: 13"] there's no magic function for this so you're going to need to code each textbox to move to the next one. in the textbox's KeyUp event: [code] Private Sub Textbox2_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Textbox2.KeyUp If e.KeyValue = 13 Then Textbox3.Focus() 'Enter Key If e.KeyValue = 27 Then Textbox1.Focus() 'Escape Key End Sub [/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
VB.NET
VB.NET General Discussion
Make "Enter" Key respond like TAB?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom