View Full Version : looping lzTimer?
whisperstorm
06-15-2004, 08:26 PM
I need to perform some action every second (or as near to that as possible). Basically I'm creating a clock of sorts, and I want to update the display every second. Is there some code somewhere or a snippet of lzx I could see to do this? I think at one time I did this, but it turned out to be a long and involved way, and there was a quick, simple way...
antun
06-18-2004, 09:05 AM
There's a tip here on how to set an event to go off after a specified amount of time. You could have the method that gets called reset the delegate so the cycle begins again:
http://www.laszlosystems.com/developers/community/forums/showthread.php?s=&threadid=138&highlight=lztimer
-Antun
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.