>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-".