2024-10-22 03:11 PM - edited 2024-10-22 03:20 PM
Hello Community,
I have few "Buttons with Labels" within a scroll list where I am able to scroll within the scroll list using a hardware button and animateToItem function.
What I would also like to do is to show which Button with label is active.
Is there any way a hardware button can be linked with a Button with Label.
Thank you in advance.
Solved! Go to Solution.
2024-10-23 07:50 AM - edited 2024-10-23 07:55 AM
Hello @Kostas Papouis,
You can use Scroll Wheel instead of Scroll List which already supports a functionality to highlight the selected button. You just need to provide the image for when the button is selected.
There are a lot of examples available in the TouchGFX Designer that you can use for inspiration. For instance, you can take a look at TouchGFX Demo 5 in the language selection screen.
For your second question, there is no direct way to connect a hardware button to ButtonWithLabel; however, you can simply define an Interaction to happen when a specific hardware button is pressed. There is also example for that in TouchGFX Demo 5.
I hope this helps you!
Don't hesitate to ask more questions if you have any!
2024-10-23 07:50 AM - edited 2024-10-23 07:55 AM
Hello @Kostas Papouis,
You can use Scroll Wheel instead of Scroll List which already supports a functionality to highlight the selected button. You just need to provide the image for when the button is selected.
There are a lot of examples available in the TouchGFX Designer that you can use for inspiration. For instance, you can take a look at TouchGFX Demo 5 in the language selection screen.
For your second question, there is no direct way to connect a hardware button to ButtonWithLabel; however, you can simply define an Interaction to happen when a specific hardware button is pressed. There is also example for that in TouchGFX Demo 5.
I hope this helps you!
Don't hesitate to ask more questions if you have any!
2024-10-26 09:10 AM
Thank you.