Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlight textbox while in setfocus...
Message
From
29/08/1999 11:01:46
 
 
To
29/08/1999 06:02:58
Larry Santos
Local Data System
Philippines
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00258934
Message ID:
00258968
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform