Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Positioning cursor in textbox
Message
From
12/11/2010 21:52:48
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01488778
Message ID:
01488999
Views:
46
>>Hi,
>>
>>My textbox value has default of 10 characters. I set the first 6 characters, user have to enter the remaining 4. How can I position the cursor on the 7th position so that user can just enter the last 4.
>>
>>TIA.
>
>Check SelStart property of textbox in Help.
>
>thisform.txtInput.SelStart = 7
IIRC, SelStart = 0 to begin in position 1, so SelStart = 6 to begin in position 7.

-m.
Previous
Reply
Map
View

Click here to load this message in the networking platform