Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click mouse select text
Message
From
22/01/2010 18:55:16
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
22/01/2010 18:24:17
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01445581
Message ID:
01445584
Views:
67
I moved the code to mouseup() and it seems to work now.

>Hi All
>
>Is there a way to have a textbox control select all the text and force the cursor position 1 when the user clicks on the text box. Similar to when the user presses tab to go to move to the next control. I have SelectOnEntry = .t. and I tried this in the gotfocus() and it didn't seem to help.
>
>this.SelStart=1
>this.SelLength = LEN(this.Text)
>
>
>Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform