cancel
Showing results for 
Search instead for 
Did you mean: 

Can't manually scroll a scrollwheel that is also animate in handleTickEvent method

TLaur.3
Associate II

HI,

I've implemented a scrollWheel that change selcted item every n ticks. For that, I call the animateToItem() method of the scrollWheel in the handleTickEvent() method of my screen.

But now, I can't scroll between items manually.

Does anyone know how to work with the tickEvent/animateToItem and the "normal" behavior off the scrollWheel ?

1 REPLY 1
Yoann KLEIN
ST Employee

Hello @TLaur.3​,

I will join a very simple example I did on a STM32F746G-DISCO board.

It automatically scrolls the ScrollWheel by calling handleTickEvent(), and you also can scroll it manually on the screen.

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX