Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InputMask in cTextBoxL
Message
From
14/03/2000 11:40:12
 
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00345190
Message ID:
00345370
Views:
18
Thanks for your answer Fred, however the problem lies on the SelectOnEntry property. Its default value is .t. and it overrides the SelStart property. I set SelectOnEntry to .f. and it worked.

Oscar


>>A cTextBoxL control contains the next input mask: C-999999
>>All of the data entered thorough this control starts with 'C-' and there is nothing at the format property.
>>
>>My problem is that when the control receives the focus, the entire Text in selected and the user needs to skip the cursor to the first numeric character in order to start typing.
>>
>>How can I make the cursor go to the first numeric character (right after 'C-')?
>>
>>
>>Thanks for any tips
>>
>>
>>Oscar
>
>Set your TextBox.SelStart=2. This will position the cursor to right after the "C-".
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform