Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i move the cursor to beginning of field
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00630692
Message ID:
00631441
Views:
25
Thanks Vlad and Andy!

>Hi!
>
>Put following:
>
>textbox.SelStart = 0
>
>in the Click event of the textbox.
>
>HTH.
>
>>Hi
>>How can i have move the cursor to the beginning of a field automatically? I want the when my clients click on some textbox ( generally they do so in the middle ), the cursor will move automatically to the start of the textbox. I tried building a txtbox based class with KEYBOARD '{HOME}' in the GotFocus event, but sometimes, instead of going to the start of the textbox, it takes me out to the previous control.
>>
>>TIA
>>Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Reply
Map
View

Click here to load this message in the networking platform