Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Putting insertion point at the END of the text in a fiel
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00909014
Message ID:
00909018
Views:
15
This message has been marked as the solution to the initial question of the thread.
>Hi there,
>
>I'm working on a VFP7.0 app. I want to get the cursor/focus/insertion point at the end of the text (plus a space) in a field so that the user can just start typing on the keyboard and have their text append to the end of the text in the field. I want to avoid having to have the user click on the mouse to put the insertion point at the correct spot.
>
>Any ideas?
>
>Thanks,
>
Joe,

SelStart is the property you're looking for. However, you'll have to add a space to the text to get the desired affect. You might also want to add an ALLTRIM() to the field to remove the space in case the user doesn't make any changes.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform