LISTVIEW scroll value

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

  • LISTVIEW scroll value

    Hi,

    I've designed a window which a wide LISTVIEW, and I've configured it with Auto Scroll Horizontal bar.

    Is it possible change the value that increases each key movement?

    i.e. my columns are 30 pixels, and each time I press RIGHT key, I shift 10 pixels, so I have to press a 3 times in order to see other column. So, I good like increase that value, for example instead of "10 pixels", increase 20 or 30 pixels.
  • Hi,

    yes, this is possible. Unfortunately, this will only work if you are using the emWin source code because it is necessary to recompile the library.

    If you are using the source code you could add the line below to your GUIConf.h:

    C Source Code

    1. #define LISTVIEW_SCROLLSTEP_H_DEFAULT 30


    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.