Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi team,
Hi have created 5 buttons and how do I change the color for selected button.
Could you please any body help?
Thanks
Ramu
Hi, each button can have an action that changes a variable value to a number that identifies the button selected.
Each button could check the variable value to use the selected color or the unselected color
Color expression like: If($(vButtonSelected)=1, Blue(), LightGray())
You can also define a variable for each color:
vcButtonSelected = RGB(128,128,222)
vcButtonUnselected = RGB(192,192,192)
And the expression could be: If($(vButtonSelected)=1, $(vcButtonSelected ), $(vcButtonUnselected))
Hi Ruben,
Thanks, I'll try.
Thanks
Ramu.