Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlight textbox while in setfocus...
Message
De
29/08/1999 11:01:46
 
 
À
29/08/1999 06:02:58
Larry Santos
Local Data System
Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00258934
Message ID:
00258968
Vues:
11
>hi,
>
>is there someone know how to highlight textbox while in focus
>

You can force a textbox to select all text when it gets focus by adding the following to GotFocus()

NODEFAULT
this.SelStart = 0
this.SelLength = this.MaxLength+1
this.Show
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform