Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set the cursorposition in a textbox
Message
From
10/02/2005 10:37:00
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
00985565
Message ID:
00985570
Views:
34
In gotfocus:
this.selstart=3

>Hey all,
>
>I have a textbox which is, depending on some previous input by the user, sometimes filled with 'R.' when the the textbox gets the focus. The purpose is that the user continues typing after the 'R.' but when the textbox gets the focus, the cursor is put at the beginning of the box (bedore the 'R'). Is there a way to force the cursor to be put at the end of the 'R.' ??
>
>Greetz,
>Hans
Previous
Reply
Map
View

Click here to load this message in the networking platform