Skip to main content
1-Visitor
November 1, 2019
Question

label should display different text for every 5 seconds

  • November 1, 2019
  • 1 reply
  • 726 views

I have a label and I want to display different text for every 5 seconds to the same label. like "a" then after 5 seconds "b" then after 5 seconds "c".....is there any way to accomplish the task. I tried using setinterval but didn't work.

1 reply

18-Opal
November 2, 2019

Hello,

 

You need to use Auto Refresh widget, which generates an event at a given interval. You need to bind this event to some data source (a service or an expression, for example). Finally, you should bind the result of this data source to you label.

 

/ Constantine