Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What can change this.value between KeyPress and LostFocu
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01422190
Message ID:
01422197
Vues:
44
>Hi
>
>I have noticed a typical behavior in a textbox where a decimal numeric value in THIS.VALUE, say 36.41 changes to 36.00. I have confirmed 36.41 at the very end of KeyPress when I have pressed enter to leave the textbox. At the top of LostFocus() THIS.VALUE is now 36.00 and I can see this happening as soon as I press enter. This control is in a grid column if it matters.
>
>And this does not happen for each and every value of this column / control just a couple values that get truncated (just struck me may be rounded but I need to confirm this behavior).
>
>Please advise.

What is the column's field type?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform