OnAppTerminate

Top  Previous  Next

This event is fired whenever the application is going to be terminated.

 

Delphi Syntax

 

Object.OnAppTerminate := MyOnAppTerminate;

 

procedure MyOnAppTerminate( Sender: TObject );

begin

 // Your code here

end;

 

Arguments

 

Sender

The Sender object.

TObject

 

Remarks

When this event is fired the application termination can not be undone anymore.