Hi Kevin,
I think your problem may be similar to what my users faced. Try the
followings to your textbox class :
GotFocus()
IF ',' $ This.InputMask && developer property
This.lcInputMsk = This.InputMask
This.InputMask = STRTRAN(This.InputMask, ',', SPACE(0))
ENDIF
DODEFAULT()
LostFocus()
IF NOT EMPTY(This.lcInputMsk)
This.InputMask = This.lcInputMsk
This.lcInputMsk = ''
ENDIF
DODEFAULT()
HTH....
Regards,
Farouk Yew Abdullah
>
>>>>I have a numeric field with the input mask of 99,999.99. When I create a
new record and enter that field, if I type "100.00" it comes out fine. But
if I type "1.00" it comes out at "10.00". I have tried many things to
compensate but cannot get it to enter correctly. I would think as soon as
you type the decimal it would know that you typed "1." not "10." Is this a
bug?
>>>
>>>Set format property to "K" to make it highlighted.
>>
>>That doesn't work. It's also right justified.
>
>It's a numeric field, so it should be right justified.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement