Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting a textbox by clicking
Message
From
14/11/2007 21:46:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Highlighting a textbox by clicking
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01269068
Message ID:
01269068
Views:
65
When I tab into a textbox that has SelectOnEntry = .t., the entire content of the textbox is highlighted (which I want). However, if I click on the textbox instead of tabbing into it, there is no highlighting, and the position that I hit sets the insertion point (not what I want).

I’m trying to get the same response with a mouse click that I get by tabbing in, and have been working with .SelLength, .SelStart, and .SelText, but I can’t seem to get it to work.

What’s the trick?

Bob
Next
Reply
Map
View

Click here to load this message in the networking platform