Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Amount textbox
Message
From
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:
01247562
Views:
22
This message has been marked as a message which has helped to the initial question of the thread.
>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

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform