How to use List view refresh with a timer

  • 20 August 2015
  • 0 replies
  • 8 views

Userlevel 5
Badge +16


 

Symptoms


How to use List view refresh with a timer
 

Diagnoses


Client has timer control that is triggered when form initialize to refresh list view, 5 ticks every a short period of time.

he doesn't want the window to be blur when list refresh method is triggered.
 

Resolution



Assume you have the timer control on your form.

-Add new tab then add your loading spinner on this tab

-the main tab has to be invisible

-add a hidden data label

-add an expression and call it counter, should look like this (data label 1)

now on the tick rule add the following:

When Timer is Ticked

(your actions)

Transfer Data ( here you transfer the counter expression to the data label)

If advance condition is true ( Counter Expression > Number of Ticks) , Number of ticks can be found under timer - settings - number of ticks

Hide loading tab
show main tab
go to main tab
 




 

0 replies

Be the first to reply!

Reply