Board index » delphi » New D5 Component missing an event !
Jeremiah Chapman
![]() Delphi Developer |
Fri, 08 Mar 2002 03:00:00 GMT
New D5 Component missing an event !
I recently installed Delphi 5 and found that we now have a ApplicationEvents
component on the additional tab. This is cool and it has a nice group of events including the onIdle event. The problem is that there isn't an event to notify that the application is no longer idle. For instance if I want procedure X to occur 15 minutes after the onIdle event fires then I would set a timer to start incrementing a global variable using the Onidle event. Now if the user clicks on the application or something then the timer should stop and the global variable should be reset to 0. In order to do this now I would have to trap mouse events and key presses(I am guessing as I haven't tried to trap anything yet). Am I missing something or is this the intended way to use this component? Jeremiah Chapman |