WIDGET: Configuration options - how to use?

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

    • WIDGET: Configuration options - how to use?



      In the documentation (ch. 19.1.4) is described:

      Default configuration
      All widgets also have one or more configuration macros which define various default
      settings such as fonts and colors used. The available configuration options are listed
      for each widget in their respective sections later in the chapter.

      And for each widget there is a table named "Configuration options", where are described default values for various macro.

      For example (19.7.1):

      NDROPDOWN_ALIGN_DEFAULTGUI_TA_LEFTText alignment used to display the dropdown text in closed state.
      SDROPDOWN_FONT_DEFAULT&GUI_Font13_1Default font
      NDROPDOWN_BKCOLOR0_DEFAULTGUI_WHITEBackground color, unselected state.
      NDROPDOWN_BKCOLOR1_DEFAULTGUI_GRAYBackground color, selected state without focus.
      NDROPDOWN_BKCOLOR2_DEFAULTGUI_BLUEBackground color, selected state with focus.
      NDROPDOWN_KEY_EXPANDGUI_KEY_SPACEKey which can be used to expand the DROPDOWN list.
      NDROPDOWN_KEY_SELECTGUI_KEY_ENTERKey which can be used to select an item from the open dropdown list.
      NDROPDOWN_TEXTCOLOR0_DEFAULTGUI_BLACKText color, unselected state.
      NDROPDOWN_TEXTCOLOR1_DEFAULTGUI_BLACKText color, selected state without focus.


      How to change for one or more of these macro their default values, for example - how to change predefined key "GUI_KEY_ENTER" for "DROPDOWN_KEY_SELECT"?

      And what does it mean the column "Type" (letters "S" or "N")?

      Best regards,

      The post was edited 1 time, last by volodymyr ().