[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TThread.OnTerminate

Event called when the thread terminates.

Declaration

Source position: classesh.inc line 1717

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: Sep 28 2017