Hi,

I would like to make some feedback to the user of my program during
some long process. To simplify, it could be something like:

ProgressIndicator.Enabled := True;
SomeLongProcess;
ProgressIndicator.Enabled := False;

Precising that:

- I have no access inside SomeLongProcess (external lib)
- ProgressIndicator should update some TImage in the main form
periodically during SomeLongProcess

I have been playing with timers, threaded timers, threads but
something is always missing. For instance, the indicator can correctly
launch its OnTimer (verified by tracing in a text file) but the form
is not updated. And if I had a synchronize inside the OnTimer, it is
launched only after the end of SomeLongProcess.

Any help welcome, especially if you know the good component to do that.

Thanks
Gilles

Reply via email to