Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
BARC’s The BI Survey 19 makes it official. BI users love Qlik. GET REPORT
Not applicable

how can change the color of a button after to push it

Hi dears experts.

I need change the color of a button after to push it , anybody can tell me how can I do that?

best regards.

1 Solution

Accepted Solutions

Re: how can change the color of a button after to push it

Set a variable:

LET myCol = 0;

in the button add an action -> external -> set variable, in the upper box write

myCol

in the lower write:

if(myCol = 0, 1, 0)

then in the general tab -> color -> check the computed and write:

if(myCol =0, rgb(200,200,200), rgb(100,100,100))

let me know

View solution in original post

4 Replies

Re: how can change the color of a button after to push it

Set a variable:

LET myCol = 0;

in the button add an action -> external -> set variable, in the upper box write

myCol

in the lower write:

if(myCol = 0, 1, 0)

then in the general tab -> color -> check the computed and write:

if(myCol =0, rgb(200,200,200), rgb(100,100,100))

let me know

View solution in original post

Highlighted
gabriel_kirst
Contributor III

Re: how can change the color of a button after to push it

Hi!

You can try setting a variable when you push the button, and use this variable to control the background color of the button.

Regards,

Gabriel

MVP
MVP

Re: how can change the color of a button after to push it

Like this?

Not applicable

Re: how can change the color of a button after to push it

Thanks for your help Alessandro.