JVCL Help:TJvMTThread.OnTerminating
JVCL Help: TJvMTThread.OnTerminating Event
Search in JVCL Help
Search in all projectsSummary
Occurs when the thread is about to terminate.
Pascal
propertyOnTerminating: TJvMTThreadEvent;
Description
Run context: background thread
Always called after OnExecute. The thread has entered tsTerminating state. Warning You can NOT use the MT data components, and you can NOT use the MT Section components.
Write an OnTerminating event handler to take specific action just before the thread terminates. The thread terminates immediately after OnTerminating.
The OnTerminating event handler is called in the context of the thread.
See Also
TJvMTThread.OnFinished, TJvMTThread.Terminate, TJvMTThread.CheckTerminate
About
Notes
Setting the OnTerminating 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