Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric field and Input mask
Message
 
To
05/09/1997 07:07:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00048495
Message ID:
00048682
Views:
26
>>Hi!
>>
>>This is a bug in VFP that we have to live with...
>>
>>Have a happy day
>>Vladimir Shevchenko
>>
>>
>>> I have one textbox with Input Mask 9,999,999.99 and format K. When I type
>>
>>> the number 100,56 just after a type the comma the number transforms to
>>> 1000,56. But this hapens only when the textbox is empty.
>>> The control source of the text box comes from database and is numeric
>>with
>>> Can anyone help me?
>>>
>
>Vladimir
>
>I discovered that if I do not use input mask = 9,999,999.99 the problem disappear, just that I can´t see thousand separator.

In that case, put

This.inputmask=""

in the GotFocus method, and

This.inputmask="9,999,999.99"

in the LostFocus method.

- Darren -
Darren Young
Previous
Reply
Map
View

Click here to load this message in the networking platform