Hye, I want to ask how can I change button colour based on variable that I have?
Button1: Set(varvisible,1)
Button2: Set(varvisible,2)
Button3: Set(varvisible,3)
So, if user click button1, the button1 colour change to blue and Button2 & Button3 will keep a normal (green) colour.
If user click button2, Button1 & Button3 will keep a normal (green) colour.
Solved! Go to Solution.
Hi @MIA99s
Set the Fill property of the buttons as follows:
Button1: If(varvisible=1, Blue, Green)
Button2: If(varvisible=2, Blue, Green)
Button3: If(varvisible=3, Blue, Green)
Hi @MIA99s
Set the Fill property of the buttons as follows:
Button1: If(varvisible=1, Blue, Green)
Button2: If(varvisible=2, Blue, Green)
Button3: If(varvisible=3, Blue, Green)