Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I edit numerics to different decimal places?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00029043
Message ID:
00029512
Views:
21
>>I would like an edit field that shows commas and decimal points in an amount field. The number of decimal places needs to be changed in real time.
>>As the user types in an amount, it should display commas as required. Data entry should only be from the right handside of the field.
>>
>>Note: the Input mask property on Edit boxes leaves commas even though numbers have not been entered.
>>
>>
>You mean textbox, don't you? You could try changing the inputmask as data is entered with Interactive change, some things are possible with that. Anyway, if all else fails, you can always use a char variable and do your own conversion function...that always works with varying degrees of difficulty.



I'll try using the Interactive change method that you suggested. Thanks for your help.


Mahesh
Previous
Reply
Map
View

Click here to load this message in the networking platform