Skip to content

__UI_UnloadSignal

Samuel Gomes edited this page May 9, 2023 · 1 revision

The global variable __UI_UnloadSignal will be set to True if the user requested the program to be closed, either by clicking the X button on the title bar or by hitting Alt+F4 (Windows only).

In an BeforeUnload event, set this variable to False to cancel the quit request.

Clone this wiki locally