locked
Change regional settings RRS feed

  • Question

  • Hi folks,

    I have a winForms program that is used in the UK, Germany and Spain.

    I have a spinbox. In the UK the numeric settings use a "." as decimal point and "," as a thousands separator.

    In Europe it has the opposite (this is correct). 

    However, Spain would like there program to be the same as the UK.

    Is there a way I can override the form controls to be the same as UK settings ?

    Thanks,

    J


    jppnn


    • Edited by john pp nn Tuesday, June 30, 2020 10:39 AM
    Tuesday, June 30, 2020 10:37 AM

Answers

  • Talk with the business. Cause I strongly recommend to use different locales for the entire system then. Anything else would mean disruption in the UI experience, which requires more mental load when switching programs and it can even lead to errors due to this.

    But you just need to overwrite the settings in the Number​Format​Info Class.

    • Marked as answer by john pp nn Thursday, July 9, 2020 7:58 PM
    Tuesday, June 30, 2020 10:43 AM