General information
Category:
The Mere Mortals Framework
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only