Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Zero added to value in textbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00916378
Message ID:
00916537
Vues:
7
I am glad someone can see my problem! but the gotfocus trick did not work. As soon as I enter a number the zero appears and does not disappear until I enter enough numbers (3) to reach the comma in the inputmask(999,999). This only happens once and only if I tab out of the textbox. if I go back to enter another number the entry works as expected. I think you are right, its a BUG! frustrating.
>
>datatype is n(6,0). I discovered that the inputmask(999,999) is causing it.
>Why would that affect it? remember enter only 1 to 3 numbers, 4 numbers is fine.
>

>
>I see it now.
>This is a bug.
>
>with
>
>inputMask = '999999'  && no problems
>inputMask = '999|999' && problem appear
>
>
>try with :
>
>* set SelectOnEntry = .F.
>* on textBox gotFocus
>THIS.Sellength = len(m.this.text)
>
>but this not remove the problem with the Mouse setfocus.
>
>Fabio
Extreme Programming = Plan -> Design -> Code -> Test
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform