Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric field and Input mask
Message
 
À
05/09/1997 07:07:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00048495
Message ID:
00048682
Vues:
21
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform