Looking for a good currency textbox control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?eXVyaWtz?=

    Looking for a good currency textbox control

    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?
  • Lord Voldemort

    #2
    Re: Looking for a good currency textbox control

    High-Impact WinForms Editors and multi-purpose controls. Masked data input. Built-in data validation. HTML formatting.



    TextEdit, CalcEdit


    "yuriks" <yuriks@discuss ions.microsoft. comescribió en el mensaje de
    noticias news:497E7D87-B116-4CEE-A03E-F25861BEEB97@mi crosoft.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?

    Comment

    Working...