?
Solved

Placing cursor in textbox

Posted on 2007-10-13
2
Medium Priority
?
184 Views
Last Modified: 2013-11-26
Hi

I'm trying to place the cursor in a textbox when opening new form so they can start wringt witout first clicking in the textbox.

So i have put in the Form load
Me.TextBoxName.Focus

But he cursor doesn't appear in the textbox, what i'm I doing wrong?
0
Comment
Question by:AWestEng
  • 2
2 Comments
 
LVL 48

Expert Comment

by:jpaulino
ID: 20070591
Set the TextBoxName TabIndex = 0
0
 
LVL 48

Accepted Solution

by:
jpaulino earned 2000 total points
ID: 20070595
or use

Me.TextBoxName.Select()
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question