Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Format-Text must return parsed value, else value in textbox will be overwritten with "LastEditingNumericValue" if "IsUpdateValueWhenLostFocus" is enabled on lost focus #55

Merged
merged 1 commit into from
Mar 24, 2023

Commits on Jan 10, 2023

  1. Bugfix: Format-Text must return parsed value, else value in textbox w…

    …ill be overwritten with "LastEditingNumericValue" if "IsUpdateValueWhenLostFocus" is enabled on lost focus
    
    - Consolidate "FormatText" in base class (it´s nearly the same code in all derived classes)
    - introduce abstract "ParseText" and type specific implementations for usage in in "FormatText", which was the only difference in the several implementations#
    - return parsed value in "FormatText" to be used in e.g. _PART_TextBox_LostFocus, where it is assgined to "Value" (here´s were "Value" got lost)
    - activate "IsUpdateValueWhenLostFocus" in demo application
    Jürgen Holzer committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    a756b40 View commit details
    Browse the repository at this point in the history