Usually time event looks like following:
lnInterval = this.Interval
this.Interval = 0
... Do some actions in timer event
this.Interval = lnInterval
this is because when actions done in timer event are quite slow, second timer event can fire after the period of time passed and thus can cause extra timer firing or even application locking and finally crash. Seems this is not a case in your application, however, before form releasing from timer event, set Interval to zero. Try this and let know if it helped.
HTH.
>Thank you for your suggestion. I will try to remove some parts of the form, though that is, unfortunately, a massive job.
>
>As for your timer question, I don't quite follow. My timer is set to check every second if a flag has been set. If so, then I run ThisForm.Release and ThisFormSet.release. Where does the enabled property come into play?
>
>Thanks.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.