Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number-style character fields
Message
 
 
To
18/02/2008 20:00:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01293663
Message ID:
01293665
Views:
33
>When I set an InputMask for a character field, e.g., to "###.##", the behavior is not what I expect from a numeric field. Can I force the field to behave like a numeric (for instance, if the user types ".", he will automatically go beyond the decimal point), or do I need a different approach (I was thinking of using an unbound TextBox, and setting a value)?
>
>TIA,
>
>Hilmar.

Try setting the value of the textbox to 0 (zero) or any number. And I would set the input mask to "999.99" (not #s).

HTH.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform