Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Amount textbox
Message
 
 
To
10/08/2007 19:10:26
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01247404
Message ID:
01247660
Views:
18
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform