473,396 Members | 2,109 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,396 software developers and data experts.

VB .NET Windowa

palanivel
sir ,


i am working vb.net windows application.normaly one textbox to another textbox move using tab control .enter button pressing focus move to next textbox is it possible pls reply me
Jun 21 '07 #1
2 946
kenobewan
4,871 Expert 4TB
So you are wanting to use the onclick event to move the focus from one textbox to another?
Jun 21 '07 #2
shweta123
692 Expert 512MB
Hi,

You can try this code

Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If Asc(e.KeyChar.ToString) = 13 Then
TextBox2.Focus()
End If
End Sub
Jun 21 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Clive Moore | last post by:
I am using the following code to close a parent window. setTimeout('self.close()',1000); Is it posible to remove the confirm dialog? Thanks Clive --
7
by: Baski | last post by:
HI, I have been using DB2 v8.2 on my windows 2000 machine. For some reasons I changed my machine name. After that non of the services (control center, CLP etc) are starting. When I try to...
3
by: memo85 | last post by:
namespace ResourcePack { internal class ResourcePackBuilder { public static readonly ResourcePackBuilder Instance = new ResourcePackBuilder(); public string Build(){ return "Hello"; }...
4
by: skanemupp | last post by:
using python And tkinter. i have a GUI that outputs a text among other things. after input form user i want this text to be *)cleared and/or *)overwritten. what is the best way to achieve...
0
by: mike sammer | last post by:
Regarding WPF:How to set the max bounds of WindowB to WindowA, ie so WindowB can't appear outside of or greater in size than WindowA, ie WindowB will generally be a smaller window residing inside of...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.