Sorry Peter, I missed the gist of that.
To determine the task type, check the class of the sender:
if Sender is TImageEnIO then
MainForm.Caption := 'IO Task has finished'
else
if Sender is TImageEnProc then
MainForm.Caption := 'Processing Task has finished'
else
MainForm.Caption := 'Unexpected result!';
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com