Window.onDeactivate

Function/Meaning
When the window becomes inactive
Type
Event of the Window class
Syntax
onDeactivate()
Arguments
None
Description
Represents an event function called when the window becomes inactive.
Note that this event may occur even if the window is already inactive (there is no guarantee that they will occur strictly in the order of onActivate -> onDeactivate -> onActivate -> ...).
Reference
Window.onActivate
System.onActivate
System.onDeactivate