Friday, September 22nd 2017, 7:04pm UTC+2

You are not logged in.

  • Login
  • Register

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: 356

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