changing a scrollwheel in real time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-20 03:26 AM - edited ‎2024-09-20 03:28 AM
Hello,
I'm trying to make a project using a scrollWhel. I put in my scrollWhel a container containing 8 sliders and I put 64 items in my scrollWhel.
I'd like to change the values of the sliders dynamically each time the page changes, but I can't manage to update them in real time, only at startup. Could you please tell me how to do this?
Sincerely
PS: I can't use a swipecontainer because it's impossible to make 64 pages and I absolutely must have 64.
- Labels:
-
TouchGFX
-
TouchGFX Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 12:33 AM
Have a look at the solution post of this topic: https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/touchgfx-simulator-assertion-quot-timerwidget-registered-too/td-p/679316
It's about a ScrollList, but maybe the principle is the same for the ScrollWheel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 12:54 AM
Hello,
Thank you for your reply. Unfortunately, I've already tried this method but it only allows me to change pages at startup. When the user navigates between pages, it doesn't work to change the slider values at each page change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-24 04:28 AM
Hello @rozeelc ,
I am not sur what you mean by "each time the page changes" so I have made an example where by clicking on a button in the screen, a specific slider's value becomes 10.
I hope this helps! :smiling_face_with_smiling_eyes:
Regards,
Software engineer at ST (TouchGFX)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-30 07:34 AM
Hello @rozeelc ,
Were you able to move forward on your issue?
Regards,
Software engineer at ST (TouchGFX)
