Hello James,
JS> Application.OnIdle := lIdleHandler.IdleHandler
JS> instead of
JS> Application.OnIdle := lIdleHandler
Great
JS> Just as an aside, the other day someone had a query and you suggested that
JS> they look at the help. Might I suggest that you take your own advice and get
JS> a good Delphi book. Any of the mastering Delphi series by Marco Cantu are
JS> good books, and anything by Charlie Calvert would be worth it too.
Thanks for suggestion. I did read through help and spent an hour on Delphi groups
over this problem prior to asking for help.
Al+
BTW - the idle handler behaves exactly the same, whether it is within the
Mainform or in the DPR file - if the program is hidden, OnIdle does not work.
I will have to go to plan B and figure out some method of using Disk I/O isbusy
to determine when to action an event instead.
Anyway, thanks all for help with getting this code working within the DPR
---------------------------------------------------------------------------
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/