DROPdowns arrow select color

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

    • DROPdowns arrow select color

      Hello ;
      we usee stemin5.28 wet ry to delete the traingle of the dropdown or change the color ; but this function never works ,
      any thing we miss or what could be the problem ?


      DROPDOWN_SetColor(hDropDown, DROPDOWN_CI_ARROW, GUI_ORANGE);

      Thank you in advanced
    • Hi,

      emWin uses for a lot of widget skinning and some functions for setting properties do not work with skinning. In this case you have to use the function <WIDGET>_SetSkinFlexProps().

      In your case this would be DROPDOWN_SetSkinFlexProps(). Please refer to the emWin user manual for more information about skinning.

      With skinning it is also possible to set a callback which manages only the drawing of a widget.

      Regards,
      Sven
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.