Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Highlighting a textbox by clicking
Versions des environnements
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement