Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Go to specific location in a text box
Message
From
31/05/2007 22:04:31
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01229658
Message ID:
01229729
Views:
16
>>>>I have a text box with an input mask of '0-99999' and a format of K. I would like the cursor to be in the 3rd column, i.e. after the '0-' when entering new data.
>>>>
>>>>Is this possible, if so how.
>>>
>>>See SelStart property.
>>
>>I did, but I cannot change it in the properties list. I can not figure out what "objectname" to use with
>>
>>WITH objectname
>>   thisform.txtbox.selstart = 3
>>ENDWITH
>>
>>or even it that is the correct approach.
>
>
>SelStart you should set in the code, e.g.
>
>textbox GotFocus():
>
>this.SelStart = 3

Ir did not work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform