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:
00916541
Vues:
8
Would you believe I FIXED IT!, thanks to your code and sticking with me. I put your code in the keypress event instead of the gotfocus event. works like a charm. Thanks

>
>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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform