Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
About TextBox
Message
From
17/06/2003 10:47:09
 
 
To
17/06/2003 10:44:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00800802
Message ID:
00800804
Views:
16
This message has been marked as the solution to the initial question of the thread.
>Hello All.
>Code in GotFocus event of Tnisform.Text1 object
>IF EMPTY(This.value)
> This.value="abracadabra"
>ENDIF
>I want to set cursor in the end position of text
>(cursor set at the first position).
>Do you know how I can without function Keyboard
>setting cursor?

Add to the gotfocus after you set the value.
THIS.SelStart= LEN(THIS.Value)
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Reply
Map
View

Click here to load this message in the networking platform