Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox selstart
Message
 
To
02/02/1999 12:55:04
Senna Dwipayana
Indo Rebel Apparel Cv
Bandung, Indonesia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00183031
Message ID:
00183213
Views:
15
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 "."

>In a form with 2 textbox
>thisform.text1
>.InputMask='999,999,999.99'
>.Value=1000
>
>
>thisform.text1.KeyPress() Event
>IF nKeyCode=4 OR nKeyCode=19 &&&& LEFT/RT aRROW
>thisform.text2.VALUE=this.SELSTART
>ENDIF
>
>and no code at all in text2
>
>and see text1.selstart value (which is displayed on text2), always change not in order, if cursor passed ',' or '.'
>
>Any idea why ?
>
>
>TIA
----------
Mark Bucciarelli
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform