Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange behavior of the textbox with the amount
Message
De
18/01/2006 12:59:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01088067
Message ID:
01088088
Vues:
20
>>>Hi everybody,
>>>
>>>We have textboxes on different forms, which seem to exibit the same strange behavior. The textboxes are unbound, have $ as format and 9,999,999.99 in InputMask (set in design time). Now, if you press the Enter, the cursor moves to the next control. You go back to that textbox and press Enter again and one of the digit disappers. In other words, each time you go back to the control and press Enter, one of the digits will vanish.
>>>
>>>Do you know why is that?
>>
>>Top of my head:
>>
>>Have you used "R" in the format, to tell it to obey the InputMask?
>>Something to do with the relative char position of the cursor on return to the field?
>
>No, the Format is $, as I said. Can you replicate the problem? May be we need R as well, but it would be a disaster to update all amount textboxes through the whole project, because we don't have a special class for that.

Can't you do it for just one form to test? How about including the currency symbol in the inputmask only?
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform