Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with a zero in text box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00032989
Message ID:
00033366
Vues:
50
>Hello!
>
>Just made some research: to avoid this problem set up
>textbox.SelectonEntry=.t.
>
>Have a happy day
>Vladimir Shevchenko
>
>> I have tried with the "R" format and still get the same behavior.
>> I have also change tue mask using # but still get the same behavior.

Vladimir, this will only work if the user TABs into the textbox. If he uses the mouse, then the cursor is set at the point where the mouse clicked. VFP assumes that you MEANT to put the cursor at that point, and that you're happy with where the decimal point is relative to the cursor. This way it's easy to CHANGE a number, but can have strange effects if you're entering a NEW number.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform