Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting focus on textbox doesn't select contents
Message
From
09/08/1999 11:36:26
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00251405
Message ID:
00251514
Views:
14
>>Hi Doug ----
>>
>>Try adding a "K" to the Format property of the Textbox.
>>
>
>Another trick that works consistently is to have the GotFocus event code change the SelStart property to 0 and the selLength property to a size equal to or greater than the total number of characters in the value. Unlike K, it works when you select the field either by tabbing to it or by a mouse click.
>

Even better- put a DODEFAULT() in the GotFocus.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform