By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,531 Members | 2,219 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,531 IT Pros & Developers. It's quick & easy.

Looking for a good currency textbox control

P: n/a
Hey,

I'm building a business application that needs input of currency data. I
looked a lot around google and friends for a good custom control to provide
interactive validation and formatting of the value.

What I need would be a WinForms textbox control that:
- Correctly formats the number according to locales
- Supports negative values
- Displays thousands separators correctly
- Supports decimals
- Right-to-left input (similar to a calculator, preferably treating the
first two numbers entered as decimals)
- Displays the currency symbol in the textbox (but doesn't allows editing it)
- Returns the value in a Decimal format, or as a string that can be parsed
using Decimal.Parse

If no such thing exists, could someone provide pointers as what to base an
implementation off, or do I need to implement all the logic (like skipping
over mask-like characters like the thousands separators like in a
MaskedTextBox) manually?
Oct 27 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
http://www.devexpress.com/Products/N...Forms/Editors/
TextEdit, CalcEdit
"yuriks" <yu****@discussions.microsoft.comescribió en el mensaje de
noticias news:49**********************************@microsof t.com...
Hey,

I'm building a business application that needs input of currency data. I
looked a lot around google and friends for a good custom control to
provide
interactive validation and formatting of the value.

What I need would be a WinForms textbox control that:
- Correctly formats the number according to locales
- Supports negative values
- Displays thousands separators correctly
- Supports decimals
- Right-to-left input (similar to a calculator, preferably treating the
first two numbers entered as decimals)
- Displays the currency symbol in the textbox (but doesn't allows editing
it)
- Returns the value in a Decimal format, or as a string that can be parsed
using Decimal.Parse

If no such thing exists, could someone provide pointers as what to base an
implementation off, or do I need to implement all the logic (like skipping
over mask-like characters like the thousands separators like in a
MaskedTextBox) manually?
Oct 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.