Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric Text box adding a zero
Message
De
30/01/2004 11:33:58
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
30/01/2004 11:17:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00872246
Message ID:
00872371
Vues:
15
>I all honesty, I've never seen this behaviour. Unfortunately, I don't have version 5 on my system any longer. Is the text box bound to data? If so, is there code in the field's properties - default etc.
>
>I can't come up with any reason why pressing the "." key should cause an extra '0' to appear.

I've seen this a lot, back then. Even in FPD2.6, if I remember correctly. The zero is there already, to start with - that's the initial value. However, when you start typing, you type from left, inserting digits, and this zero should vanish. Now in 2.6 it didn't vanish until you typed over it, or until you pressed the decimal point character - then the digits to the left would flush to the right and the zero would vanish.

However, in VFP5, this somehow didn't work, and there was a way for the zero to get added to the digits you actually typed. I don't remember exactly when and how, but it was a real PITA of a problem. Haven't seen it for a while, so I think it's been fixed in latter versions of Fox.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform