Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Text Boxes

Posted on 1999-07-13
9
Medium Priority
?
142 Views
Last Modified: 2010-05-02
How do I make it so when you open my program, there is a blinking cursur in the text box (i only have 1 text box)?
0
Comment
Question by:mrcool4444
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 2

Accepted Solution

by:
BeedleGuis earned 0 total points
ID: 1524421
form1_load
text1.setfocus
end sub
0
 

Author Comment

by:mrcool4444
ID: 1524422
Sorry, didn't work, is there any other way of doing it?
0
 
LVL 2

Expert Comment

by:BeedleGuis
ID: 1524423
you mean somthing other than the normal cursor?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mrcool4444
ID: 1524424
no, the text1.setfocus said there was an error.
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1524425
You can't do the .Setfocus event in the form_load event until you have a Me.Show because you can't .Setfocus to an invisible control. Put Me.Show ahead of Text1.Setfocus and all will be well.

This is more help than a 2 pt Q deserves.

M

0
 
LVL 2

Expert Comment

by:BeedleGuis
ID: 1524426
oops . thanks mark2150 .. and I agree
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 1524427
0
 
LVL 2

Expert Comment

by:BeedleGuis
ID: 1524428
damn ..  already accepted the answer . . what was it caraf_g?
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 1524429
I don't know (do you think I'm going to waste points on such a question?) but it obviously was not a real question, and for a lot of points too, so the whole thing stinks to high heaven.
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

704 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