EDIT widget float mode issue

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • EDIT widget float mode issue

    If I create an EDIT widget and set float mode using:

    EDIT_SetFloatMode(hObj, 0.0, -1000.0, 1000.0, 0, GUI_EDIT_SIGNED | GUI_EDIT_SUPPRESS_LEADING_ZEROES);

    Then the EDIT box is empty. This only occurs if the Value is zero, Shift is zero and both GUI_EDIT_SIGNED and GUI_EDIT_SUPPRESS_LEADING_ZEROES flags are set. If either flag is not set or the Shift parameter is greater than zero, then a value is seen in the EDIT box.

    Can this be fixed?

    Regards,

    Craig
  • Hello Craig,

    Thank you for reporting the problem. I was able to solve it. In case you have a license contract with SEGGER, I can provide you with a patch. In this case, I would like to ask you to write an e-mail to info@segger.com. Otherwise this bugfix will be released in the next emWin release version.

    Best regards,
    Adrian