Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with a spinner
Message
De
09/08/2000 13:22:44
 
 
À
09/08/2000 13:06:20
Lamar Glover
Southeastern Apparel, Inc.
Dothan, Alabama, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00402882
Message ID:
00402895
Vues:
13
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform