Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox selstart
Message
From
03/02/1999 01:28:00
Senna Dwipayana
Indo Rebel Apparel Cv
Bandung, Indonesia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00183031
Message ID:
00183312
Views:
14
>It could be the value of your text1.Format property. If .Format = "R", I know the text.Value will not include the mask. So maybe selstart doesn't change when you pass a mask character such as "," or "."
I didn't put anything on text.format, what I meant is if I press left/right arrow passing the value in text1 (assume it has a value=150000 and displayed 150,000.00, and text1.selstart value would be visible on text2) and when the cursor pass ',' or '.' which is already on text1, the cursor will jump.
As example,
text1.inputmask='999,999.99'

when text1.selstart=2 and right arrow is pressed, text1.selstart will jump to 4 and cursor on text1 jump to after the 1st comma.
Senna Dwipayana
Being good is better
Being better is a bless
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform