- 機能/意味
-
When the application becomes inactive
- タイプ
-
Systemクラスのプロパティ (読み書き可能)
- 説明
-
Represents the event function that is called when the application becomes inactive.
If null is specified, the function will not be called.
Unlike normal event handlers, if you want to receive this event, set the function you want to call to this property.
Window.onDeactivate occurs when each window in the same application is deactivated, but this event occurs when the main window is deactivated.
Note that this event can also occur if the main window is already inactive (it is not guaranteed to occur completely in the order of onActivate → onDeactivate → onActivate → ...).
- 参照
-
System.onActivate
Window.onActivate
Window.onDeactivate