Refresh "Label" box every 60 seconds

Archived support forum for customers who once purchased a PrimalForms product license. This forum is locked.
This topic is 11 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
R1Johnny
Posts: 37
Last visit: Mon Dec 12, 2022 7:15 am

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: 2 times

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.
This topic is 11 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.