Specifies an event type used to handle a WM_QUERYENDSESSION window message in an application.
Source position: forms.pp line 1321
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.6 | Generated 2026-02-20 | Home |