AppWizard Set PROGBAR COLOR

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

    • AppWizard Set PROGBAR COLOR

      New

      ppWizard V154a_646a ,

      C CODE
      if(LD>50)APPW_SetVarData(ID_VAR_BAT_COLOR,GREEN); //0X07E0
      else if(LD>20)APPW_SetVarData(ID_VAR_BAT_COLOR, GRED); //0XFFE0
      else if(LD<=20)APPW_SetVarData(ID_VAR_BAT_COLOR,GRED); //0XFFE0
      //PROGBAR0-26 , LD 0-100
      APPW_SetVarData(ID_VAR_BAT_PROGBAR,LD/4+1);

      The actual running effect is displayed in black regardless of the variable value set;
      Is the usage incorrect?
      Images
      • 屏幕截图 2025-03-27 153116.png

        34.19 kB, 423×250, viewed 15 times
      • 屏幕截图 2025-03-27 153044.png

        20.22 kB, 941×193, viewed 12 times
      • _20250327153254.png

        477.29 kB, 672×458, viewed 20 times

      The post was edited 2 times, last by CF_238001 ().