Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select all in Text Box
Message
 
 
À
13/04/2000 16:50:20
Bob Macwilliam
Euphoria Media Solutions
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00359501
Message ID:
00359522
Vues:
10
Try the following in the click of the textbox:

this.SelStart=0
this.SelLength=LENC(this.value)


>Trying to figure out how to select the entire text in a text box when the user first clicks into the box. Selectonentry = .t. doesn't work (or only seems to work when tabbing).
>
>Thanks in advance,
>Bob
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform