Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select all in Text Box
Message
De
13/04/2000 20:31:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/04/2000 20:18:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00359501
Message ID:
00359586
Vues:
8
>>>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
>>
>>
Bob,
>>Try this.
>>
*Textbox.Gotfocus
>>this.Setfocus()
Don't forget this fires gotfocus twice.
>>Cetin
>
>Or just
>
>DODEFAULT() in the gotfocus.


Erik,
Very nice. But FYI it has a problem that it doesn't work in grid (I was so grid oriented that I said gotfocus would fire twice :).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform