[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Specifies an event type used to handle a WM_QUERYENDSESSION window message in an application.
Source position: forms.pp line 1317
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. |