Solved
Touch GFX, STM32F746G-DISCO, STM32CubeIDE
I have a screen and two different backgrounds. I have a Toggle button. How to change the background with this button?
Andrzej
I have a screen and two different backgrounds. I have a Toggle button. How to change the background with this button?
Andrzej
You can use the same trick of turning the buttons or counter invisible when you switch backgrounds. What you have to be careful about is in which order you have put the widgets in: as long as you put the text "above" in the tree then your text will be displayed above the background (dont forget to use the invalidate() function)
/Romain
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.