2021-11-27 03:18 AM
Hi dear guys! I have a problem in touchgfx:
how can I change the scroll direction of scrollwheel using animateToItem()? I used the capability of circulation but I need to send negative value to rotate in a down-up manner... it's okay but if I set a time for animation period and the value change to negative then scrollwheel will rotate over the whole my elements to reach that position! My major problem is changing scroll direction...
Please help me...
Thanks
Solved! Go to Solution.
2021-11-27 03:54 AM
Thanks dear friend...its okay now. I used the complement of value instead of negative value : max- value.
2021-11-27 03:30 AM
Maybe try check code Middlewares\ST\touchgfx\framework\source\touchgfx\containers\scrollers\,
this is placed to your project , but you can create own rename duplicates and change what you need.,.
2021-11-27 03:54 AM
Thanks dear friend...its okay now. I used the complement of value instead of negative value : max- value.