Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

change the color of the text object

hi

i want to change the background color of the text object after every 2 seconds.for eg if the background color of the text object is red then after 2 second it should be green and again after 2 second it should be red again and vice versa.can anyone help me with this please

1 Solution

Accepted Solutions
Colin-Albert

You can do thus using the now(1) function to get the current time, but this is not advised as it can be processor intensive. Also this does not update automatically if you are using the Ajax client on the server.

These posts have some details that should help.

https://community.qlik.com/message/901034?_ga=1.101797000.868845483.1443099811#901034

https://community.qlik.com/message/631304#631304

View solution in original post

1 Reply
Colin-Albert

You can do thus using the now(1) function to get the current time, but this is not advised as it can be processor intensive. Also this does not update automatically if you are using the Ajax client on the server.

These posts have some details that should help.

https://community.qlik.com/message/901034?_ga=1.101797000.868845483.1443099811#901034

https://community.qlik.com/message/631304#631304