PSTIMER with multtiple events

Chris Kelleher

Administrator
Staff member
I have an application that uses a simple PSTimer to control one event. I'd
like to expand the use of the timer to control different events with different
intervals. Does anyone know of an example of how to put this together.
Thanks.
 

Chris Kelleher

Administrator
Staff member
At 12:43 PM 1/13/2000 -0600, Charles Callanan wrote:

>I have an application that uses a simple PSTimer to control one event. I'd
>like to expand the use of the timer to control different events with
different
>intervals. Does anyone know of an example of how to put this together.

I believe you can just have multiple instances of the timer. Set correct
intervals for each, and trigger as each fire.

····························································
A r t h u r F i n k · Database solutions using Progress
· User interface design and review
C o n s u l t i n g · Training + mentoring + consulting
····························································

Ten New Island Avenue 207.766.5722 arthur@ime.net
Peaks Island, Maine 04108 http://w3.ime.net/~arthur
 

Chris Kelleher

Administrator
Staff member
Is this what you are looking for????

Have the one timer that fires every 59 seconds (if the minumum time
internval for an event is 1 minute) and compare the system time against the
"event" time - flag it as complete for that date/time - run it- and move
onto the next event.
 
Top