place a 10minute TTimer into the idle event. every time idle event happens start and stop the timer.
if the timer ever triggers then you were idle for 10 minutes. This is a simple 2 sec answer. i'm sure someone will have a better one -----Original Message----- From: Robert Martin [mailto:[EMAIL PROTECTED] Sent: Thursday, 27 March 2003 3:07 p.m. To: Multiple recipients of list delphi Subject: [DUG]: On Idle I want to know when my application has been idle for say 10mins. Using the OnIdle application event tells me when my app goes idle but I cant see a simple way to tell if 10mins later it has still been idle. Rob Software engineer Wild Software Ltd Ph 03 377-0495 --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
