Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
InputMask problem when entering small number.
Message
De
18/06/1998 23:14:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00109770
Message ID:
00109783
Vues:
32
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
Fil
Voir

Click here to load this message in the networking platform