Navigation:  Language Reference > App B - Events > Field-Independent Events >====== EVENT:GainFocus ====== Previous pageReturn to chapter overviewNext page

NewC7.jpg

The window is gaining input focus from another thread. This is the event on which you restore any data you saved in EVENT:LoseFocus. The system is modal during this event.

EVENT:GainFocus is not generated until EVENT:LoseFocus is processed (if focus was

on another window of the same program).