Skip to main content
TLaur.3
Associate II
April 4, 2023
Question

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

  • April 4, 2023
  • 1 reply
  • 894 views

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 ?

This topic has been closed for replies.

1 reply

Yoann KLEIN
ST Employee
April 28, 2023

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 KLEINST Software Developer | TouchGFX