TApplicationProperties.OnEndSession property
Event handler signalled when a session is ended in the application.
Declaration
property OnEndSession: TNotifyEvent read FOnEndSession write SetOnEndSession;Description
OnEndSession is a
TNotifyEvent property with the event
handler signalled when a session is ended in the application. It is called
from the
IntfEndSession method, and occurs when the
WM_ENDSESSION message is handled in the widget class. It is
signalled before other application handlers using the
ahtEndSession type.
OnEndSession may not work reliably on all platforms supported supported for
Lazarus. Some environments / window managers do not post a WM_ENDSESSION
message when the process is killed.
This description is the one of Forms.TApplication.OnEndSession.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
