Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Highlighting selected buttons

Hi, can anyone tell me how to highlight selected active button. For eg. The button colour should change when clicking on it.

3 Replies
maleksafa
Specialist
Specialist

here you go, i have created a variable and i assign a value whenever i click on it, and based on that i change the color of the button.

Not applicable
Author

!sa.png

Not applicable
Author

Hi Pratik,

1. Create 1 variable 'vShow'

2.Button Properties--> Actions---> Set variable(vShow=1)

3.Button Properties--->General--> Background Color--> Base color (Calculated)= if(vShow=1,RGB(0,0,0),RGB(255,255,255))

Reagrds,

Joshmi