Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Amount textbox
Message
 
 
À
10/08/2007 19:10:26
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01247404
Message ID:
01247660
Vues:
19
>>Hi everybody,
>>
>>I'm wondering what do you use to enter amounts?
>>
>>Somehow the InputMask interferes with the input. However, if you remove it, you can input a long number.
>>
>>So, what do you generally use?
>>
>>Thanks in advance.
>>
>>I decided to remove ',' from the InputMask. Not 100% sure that's the best way, so I still would appreciate your ideas.
>
>Now you'll have an immediate deja vu, because I think I wrote this a few times already:
>
>
textbox.init
>this.addproperty("saveinputmask","")
>
>textbox.gotfocus
>this.saveinputmask=this.inputmask
>this.inputmask=chrtran(this.inputmask, ",", "")
>
>textbox.lostfocus
>this.inputmask=this.saveinputmask
Yes, that's what I did. Thanks a lot.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform