undo closure / отменить закрытие - Forum

Forum Navigation
You need to log in to create posts and topics.

undo closure / отменить закрытие

how to cancel window closing?
как отменить закрытие окна ?

@lolo

For example, to minimize the application window instead of closing it by clicking "Close" button (red cross), write the following code in the "Shutdown" tab (Book/Book Properties/Shutdown menu):

If "[ShutdownSource]" "=" "CloseButton"

SetVar "[ShutdownStatus]" "False"

SetVar "[WindowState]" "Minimized"

EndIf

Note:
This code will only work if placed on the "Shutdown" tab (Book/Book Properties/Shutdown menu) .

@vadim
Спасибо
SetVar "[ShutdownStatus]" "False"