stopping an on-screen timer
    Peter T. Evensen 
    pevensen at siboneylg.com
       
    Thu Jan 19 17:35:56 EST 2006
    
    
  
What is the best way to display a timer on the screen and then have it 
stoppable?
Something like the following would work for the timer
on UpdateTimer
   -- update the display
   send UpdateTimer to me in 1 sec
end UpdateTimer
My question is how best to stop the timer?
Is it better to look for the UpdateTimer message in the pendingMessages and 
cancel it?
Have a global variable indicating the timer is active and only send the 
UpdateTimer to me if it is active?
What have other people used?
Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-628-4588 
    
    
More information about the use-livecode
mailing list