Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TThread.OnTerminate

Event called when the thread terminates.

Declaration

Source position: classesh.inc line 2403

public property TThread.OnTerminate : TNotifyEvent
  read FOnTerminate
  write FOnTerminate;

Description

TThread.OnTerminate is called when the thread terminates. The event is always called in the context of the main thread, i.e. using TThread.Synchronize

See also

TThread.Synchronize

  

Synchronizes the thread by executing the method in the main thread.

TThread.FreeOnTerminate

  

Indicates whether the thread should free itself when it stops executing.


Documentation generated on: Nov 23 2024