Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
thomas_skariah
Creator III
Creator III

Alert when clicking on a button

Hi all,

Can anyone suggest how to achieve an alert when clicking on a button?

or Is there any way where we have a text box who's color changes after every 5 seconds?

Regards,

Tom

1 Solution

Accepted Solutions
Not applicable

Hi,

you can use this code for color change of textbox or button.....

just add this code in calculated color....

=if(Second(now(1))<=5,RGB(255,0,0),

if(Second(now(1))>5 and Second(now(1))<=10,RGB(0,255,0),

if(Second(now(1))>10 and Second(now(1))<=15,RGB(0,0,255),rgb(255,255,0)

)))

par.JPG

View solution in original post

3 Replies
Anonymous
Not applicable

are you looking for soomething like this.

Not applicable

Hi,

you can use this code for color change of textbox or button.....

just add this code in calculated color....

=if(Second(now(1))<=5,RGB(255,0,0),

if(Second(now(1))>5 and Second(now(1))<=10,RGB(0,255,0),

if(Second(now(1))>10 and Second(now(1))<=15,RGB(0,0,255),rgb(255,255,0)

)))

par.JPG

thomas_skariah
Creator III
Creator III
Author

Thanks Aadil thanks Parag,

for your kind support.

Regards,

Tom