Forum > LCL

Get value of TIdleTimer

(1/1)

cybersmyth:
I've look for this and can't find it, so forgive me if it's blatantly obvious...

Is there a way to get the value of the TIdleTimer? I want to use it as a status bar item or maybe an indicator as the counter get close to execution. For example, the idle timer is set to go off after 5 minutes, maybe play a sound at 2 minutes, and a different sound at 4 minutes.

Thanks,
-Joe

Marc:
Use different timers (or the same repeating)
In your case a 2 + 2 + 1 minute timer.
Or use a repeating 1 minute timer and keep a counter, countin the time the timerevent fired.

Navigation

[0] Message Index

Go to full version