Subject Re: Error Code 239 IDAPI error
From Akshat Kapoor <akshat.kapoor@kapoorsons.in>
Date Sat, 21 Oct 2023 15:39:39 +0530
Newsgroups dbase.getting-started

Good Afternoon Ken,

> The most important thing is to release the timers completely when they
> aren't being used, maybe even every so often in your code they should be
> released (perhaps after performing some task, release the timer, then
> create a new one ...). Timers are big resource hogs ...

The problem I face is when the app is running and the taskbar icon is
clicked 3 or 4 times.

And this problem is there with forms which are supposed to be up and
running in the background.

Another form (incremental search form ) which uses timer for a short
duration works fine without any issue.

In all the forms the timer is declared in form_onOpen and clsoed in
canClose events. In between it is just enabled / disabled

Regards
Akshat