Sign in Join
Wiki copytemporary

Revision 1 of 4, by Trev on 2-19-2020. The page as it is now.

LongTimer

Summary

<figure> <img src="sc_longtimer.png" title="sc_longtimer.png" /> <figcaption>sc_longtimer.png</figcaption> </figure>

Download

Download from the Lazarus CCR here

Installation

License

Support

Tips

eg.

pascal
LongTimer1.WeeklyDay:=TDay(1); // sets the Weekly Day to Tuesday (2nd in the list)
LongTimer1.SampleInterval:=TSampleInterval(1); // sets the interval sample rate to every 5 minutes (2nd in the list)
LongTimer1.IntervalType:=TIntervalType(1); // sets the interval type to to Weekly (2nd in the list)

- this is exactly equivalent to:

pascal
LongTimer1.WeeklyDay:=lt2Tuesday�; // sets the Weekly Day to Tuesday
LongTimer1.SampleInterval:=lt2Every5minutes�; // sets the interval sample rate to every 5 minutes
LongTimer1.IntervalType:=lt2Weekly�; // sets the interval type to to Weekly


---- Demo application for TLongTimer

<figure> <img src="sc_longtimerdemo.png" title="sc_longtimerdemo.png" /> <figcaption>sc_longtimerdemo.png</figcaption> </figure>


From the Free Pascal wiki, page "LongTimer", as it stood on 2020-02-19 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.