JVCL Help:TJvMTThread.OnExecute
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvMTThread.OnExecute Event
[+] TJvMTThread Events
[+] TJvMTThread Methods
[+] TJvMTThread Properties
Search in JVCL Help
Search in all projectsSummary
Occurs when the thread starts up.
Pascal
propertyOnExecute: TJvMTThreadEvent;
Description
Run context: background thread Called when the thread enters tsRunning state.
Inserting the code that should execute when the thread is executed.
This is where you implement the thread. When the OnExecute event handler finishes, the thread terminates. Most OnExecute event handlers contain a loop that calls the Sleep method so that other threads are not locked out.
The handler should call CheckTerminate periodically.
See Also
About
Notes
Setting the OnExecute 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