Armen Ambartsumian mentioned this to All:
AA> Could somebody help me with Timer properties and so on...i have some
AA> problems! So, how can i check events with Timer component, i mean , for
AA> example we have a program that will run another program in 12:01 ?
If you are using Delphi 2 or 3, you might want to use a TThread instead of a
timer. Otherwise, since the Timer.Interval property can't be larger than 65K
milliseconds, you will have to set it to 30000 (30 seconds) and check the
system time every time the OnTimer event fires. You could set it to 60000
(one minute), but if the timer gets delayed, you might miss your target time.
...Gary
--- GoldED 2.41
---------------
* Origin: Nobody expects the Flying Circus BBS! (1:2410/905)
|