I’m making a “soundboard” app, where there’s 12 buttons and each triggers a different sound. When a button is pressed I’d like to make that button turn red, and set the color of the other buttons to blue.
I know I could do that in a “when button1.click” routine, but that’s a lot of code.
Can anyone think of a more elegant way to do that?
Is there some way to set the background color of all the buttons, and then I could set the background color of the last button pressed afterwards?
Thanks for any help.