JVCL Help:TJvMTThread.OnFinished

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when the thread has finished running.


Pascal

 propertyOnFinished: TJvMTThreadEvent;


Description

Run context: main VCL thread Called when a thread has finished.
Write an OnFinished event handler to take specific action just after the thread finished running. The thread terminates immediately before OnFinished.
The OnFinished event handler is called in the context of the main thread, which means methods and properties can be called freely.


See Also

TJvMTThread.OnTerminating, TJvMTThread.Terminate


About

Notes

Setting the OnFinished property will terminate a running thread.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page