Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving Mouse Cursor
Message
From
15/06/2001 14:55:12
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgia, United States
 
 
To
15/06/2001 14:14:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00520079
Message ID:
00520112
Views:
15
>Can anyone tell me if there is a way to control where my mouse cursor is pointed in a text box? I have a textbox that displays a real short line of data for the user. I need the mouse cursor to move to the end of that line so that the user can enter more information if they need to.
>
>Thanks in advance.

As long as it's character data, this code in the GotFocus of the textbox method will do it.
This.SelStart = LEN(RTRIM(This.Value))
David.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform