Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with a spinner
Message
From
09/08/2000 13:22:44
 
 
To
09/08/2000 13:06:20
Lamar Glover
Southeastern Apparel, Inc.
Dothan, Alabama, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00402882
Message ID:
00402895
Views:
12
I've never understood why the KeyboardHighValue only allows integers, but you'll have to set this to CEILING(amt_ordered) and then use the spinner's Valid() to validate the value entered.

>Probably a dumb question but here goes:
>
>We have a spinner class in an order entry program. Object is amout received. Amt received may not be greater than amt ordered. For validation purposes we assign amt ordered to the KeyboardHighValue and SpinnerHighValue. Of course the KBHighValue does not allow decimals. The amt ordered is 31.40. When this is entered we get window that says amt may not be greater than 31.
>
>Is this a known behavior and is there any way to get around this?
>
>Input mask is 9999.99
>Format mask is 9999.99
>Value is 0
>
>Thanks.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform