Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Positioning cursor in textbox
Message
 
 
To
10/11/2010 22:52:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01488778
Message ID:
01488780
Views:
54
>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
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform