Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange behavior of the textbox with the amount
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01088067
Message ID:
01088488
Views:
17
>>Hi everybody,
>>
>>We have textboxes on different forms, which seem to exibit the same strange behavior. The textboxes are unbound, have $ as format and 9,999,999.99 in InputMask (set in design time). Now, if you press the Enter, the cursor moves to the next control. You go back to that textbox and press Enter again and one of the digit disappers. In other words, each time you go back to the control and press Enter, one of the digits will vanish.
>>
>>Do you know why is that?
>
>That "bug" has been around for a while. Good to see you using unbound text boxes. Sergey shared this with me when I had a question much like yours - I use it all the time - store it in the controls init event:-)
this.AddProperty('nTextValue',0)
>this.ControlSource="this.nTextValue"
I see. It would not give any impact, right? And you don't have to use this fake controlsource.

I don't want to do it on a textbox class level, but will do for the forms in question.

BTW, do you have a thread reference?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform