Hello to all,
I need to scroll a Listview by swiping. I use emWin 6.32.
So I tried this example:
SCROLLER_Usage_DefaultWidgets.c kb.segger.com/SCROLLER_-_Usage_DefaultWidgets_(Sample)
Because my resolution is 800*480 I extended the dummy text for the Listview, so defintely not all the lines fit on the screen.
Thus a scrollbar IS NECESSARY.
Swiping directly on the listview workes fine, but the attached Scroller is not displayed.
The example code is 1:1 copied!
In order to find the reason I modified the code and tried to create a scrollbar manually with SCROLLER_CreateUser(). This scroller is displayed.
But as soon as a use SCROLLER_AttachToWindow() with the handle of the scroller (manually created), the scroller disapears.
Why is the scroller in this context not capable to work together with a Listview?
Thanks a lot for help
Andreas
I need to scroll a Listview by swiping. I use emWin 6.32.
So I tried this example:
SCROLLER_Usage_DefaultWidgets.c kb.segger.com/SCROLLER_-_Usage_DefaultWidgets_(Sample)
Because my resolution is 800*480 I extended the dummy text for the Listview, so defintely not all the lines fit on the screen.
Thus a scrollbar IS NECESSARY.
Swiping directly on the listview workes fine, but the attached Scroller is not displayed.
The example code is 1:1 copied!
In order to find the reason I modified the code and tried to create a scrollbar manually with SCROLLER_CreateUser(). This scroller is displayed.
But as soon as a use SCROLLER_AttachToWindow() with the handle of the scroller (manually created), the scroller disapears.
Why is the scroller in this context not capable to work together with a Listview?
Thanks a lot for help
Andreas
The post was edited 1 time, last by Andy_AN2 ().