Thursday, June 29th 2017, 9:21am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Date of registration: Aug 2nd 2016

Posts: 22

1

Thursday, June 8th 2017, 10:36am

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.

SEGGER - Schoenen

Super Moderator

Date of registration: Aug 13th 2015

Posts: 309

2

Thursday, June 8th 2017, 2:06pm

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/C++ Source code

1
#define LISTVIEW_SCROLLSTEP_H_DEFAULT  30


Regards,
Sven

Similar threads