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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only