System.onActivate

機能/意味
When the application is activated
タイプ
Systemクラスのプロパティ (読み書き可能)
説明
 Represents the event function that is called when the application is activated.
 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.onActivate occurs when each window in the same application is activated, but this event occurs when the main window is activated.
 Note that this event can also occur if the main window is already active (it is not guaranteed to occur completely in the order of onActivate → onDeactivate → onActivate →...).
参照
System.onDeactivate
Window.onActivate
Window.onDeactivate