Specifies an event type used to handle a WM_QUERYENDSESSION window message in an application.
Source position: forms.pp line 1319
type TQueryEndSessionEvent = procedure( |
var Cancel: Boolean |
) of object; |
Cancel |
|
Set Cancel to True to prevent the session from ending. |
|
Event handler signalled to determine if the current session be be ended, and the application can be closed. |
| Version 4.4 | Generated 2025-11-08 | Home |