Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select on entry
Message
From
24/01/2000 14:01:32
 
 
To
24/01/2000 13:39:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00321742
Message ID:
00321756
Views:
20
>Hi
>
>How can I have the whole field selected when I click on the field ?
>It works when I navigate with TAB or ENTER but when I click on the field it put the cursor exactly where I click and does not select the whole field.
>
>Can anyone help ?

The following works for me even where I don't know the lineage of the textbox:

GotFocus Event:

DODEFAULT()
this.SelStart=0
this.SelLength=10000
NODEFAULT
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