[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Event handler signalled when a session is ended in the application.
Source position: forms.pp line 1755
public property TApplication.OnEndSession : TNotifyEvent |
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.
Remark: | 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. |
|
Called by the interface when the session ends. |
|
|
Types of Application notification handlers. |
Version 3.2 | Generated 2024-02-25 | Home |