Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InputMask problem when entering small number.
Message
 
 
To
19/06/1998 00:05:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00109770
Message ID:
00109794
Views:
29
>>>>>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.
>
>Yes, I know, so is the a VFP bug? Not the right justification, but the number being enter with an extra 0?


I am not so sure if this is a known bug. Actually w/o the inputmask setting it's quite OK, but whether a known bug or not, what we are doing is we set the Format property to "K" or the selectonentry to .T., and at WHEN event, we issued KEYBOARD "{SHIFT+END}" to force it selected when using the mouse in focusing the object.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform