General information
Category:
Coding, syntax & commands
Title:
Highlighting a textbox by clicking
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only