Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

highlighted problem..

Status
Not open for further replies.

keeyean

MIS
Sep 29, 2001
32
US
where should i put this code... if i want the Text1(0) will be highlighted when i open Form1??
Form1.Text1(0).SelLength = Len(Form1.Text1(0).Text)
 
How about:

In Text1_Gotfocus:
Text1.SelLength = Len(Text1.Text)

In Form_Load:
Call Text1_GotFocus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top