Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

__UI_UnloadSignal

Samuel Gomes edited this page Nov 25, 2022 · 2 revisions

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