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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Highlight data when tabbing 1

Status
Not open for further replies.

vlingen

Programmer
Aug 4, 2006
31
US
I've found that if the textbox data format property is "general" - all the data in the field will be highlighted as the user tabs through the fields on a screen.

Now if the textbox data format property is "number" or "date" - the cursor flashes in the field and the data is not highlighted.

I have customer who reqests all the fields show the data highlighted as the user tabs through the fields on the screen.

How can I acheive this?

Thanks!
 
Have you tried an old fashioned;
Code:
Text1.SelStart = 0
Text1.SelLength = Len(Text1.Text)

Have fun.

---- Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top