Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlighting a textbox by clicking
Message
De
14/11/2007 21:46:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Highlighting a textbox by clicking
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01269068
Message ID:
01269068
Vues:
67
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
Fil
Voir

Click here to load this message in the networking platform