Support Forums

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
Joined: Thu Aug 18, 2011 12:22 am

Refresh "Label" box every 60 seconds

Postby R1Johnny » Tue Sep 04, 2012 3:20 am

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: 4354
Joined: Thu Aug 18, 2011 4:56 am

Refresh "Label" box every 60 seconds

Postby davidc » Tue Sep 04, 2012 7:19 am

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

http://www.sapien.com/blog/2011/08/09/primalforms-2011-spotlight-on-the-timer-control/

David
David
SAPIEN Technologies, Inc.

Return to “PrimalForms”

Who is online

Users browsing this forum: No registered users and 2 guests