Change direction of scrollwheel and negative value for animateToItem()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-11-27 3: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.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-11-27 3:54 AM
Thanks dear friend...its okay now. I used the complement of value instead of negative value : max- value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-11-27 3: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.,.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-11-27 3:54 AM
Thanks dear friend...its okay now. I used the complement of value instead of negative value : max- value.
