Announcement

Collapse
No announcement yet.

LedDigit not working if img_Disable() present

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • LedDigit not working if img_Disable() present

    Hi,

    After some investigation, I have found out the following behaviour:

    I cannot display values on a LedDigit if I do following:

    img_Disable(hndl, -1);
    img_Enable(hndl, iTJourValue); img_Show(hndl, iTJourValue); ledDigitsDisplay(175, iTJourValue+1, 150, 3, 0, 26, 0) ;

    This always show my leddigit to 0.

    But if I remove the img_Disable() call, the ledDigits is displaying the correct value. Is that a known issue?

    So far, I use a lot of img_Disable() combined with img_Enable() as I am hidding and displaying a lot of different widgets for my UI. The LedDigit is the only widget where I see the issue.

    Regards,

    Laurent

  • #2


    That would be working as expected, if you disable an image it won't display, this is as per the manual.

    iTJourValue and iTJourValue+1 need to be enabled before you can display leddigits.
    Mark

    Comment


    • #3


      iTJourValue+1 need to be enabled
      Solved!

      Comment

      Working...
      X