Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InputMask in cTextBoxL
Message
From
13/03/2000 23:49:55
 
 
To
13/03/2000 18:19:14
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00345190
Message ID:
00345220
Views:
14
>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-".
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform