Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox property - Select on Entry
Message
From
18/12/2002 14:41:23
 
 
To
18/12/2002 14:32:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00734203
Message ID:
00734206
Views:
25
>Is there a way to make VFP select all of a textbox when it gets focus? Presently it only highlights through the last non-blank character in the textbox and I'd like it to highlight the entire textbox text area.

In the GotFocus event, try setting this.SelLength to your field width. You might also need to set this.SelStart to 0.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform