Quote from
Vadim on April 22, 2022, 7:14 pm
@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) .
@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) .