Refresh "Label" box every 60 seconds

Archived support forum for customers who once purchased a PrimalForms product license. This forum is locked.
User avatar
R1Johnny
Posts: 37
Last visit: Wed Jan 27, 2021 3:18 pm

Refresh "Label" box every 60 seconds

Post by R1Johnny »

Good morning,
I'm writing a POSH clock script and was hoping you could give me a hint on how to refresh the Label box every 60 seconds. I've changed the label value to be my timer value ($sw.elapsed.minutes).

It currently only refreshes this val when I click on the label box directly.

Is there some other form tool that I should use for this besides the label box?

Thanks very much.

User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 1 time

Refresh "Label" box every 60 seconds

Post by davidc »

I would recommend using the Timer Control's tick event to update the label:

http://www.sapien.com/blog/2011/08/09/p ... r-control/

David
David
SAPIEN Technologies, Inc.