Occurs after the thread's Execute method has returned and before the thread is destroyed.
property OnTerminate: TNotifyEvent;
__property TNotifyEvent OnTerminate;
Write an OnTerminate event handler to execute code after the thread finishes executing. The OnTerminate event handler is called in the context of the main thread, which means methods and properties can be called freely.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!