Hey Access People!
How can I detect when a pop-up form "lost the focus", by which I mean when another form becomes Screen.ActiveForm?
Particularly for the scenario of the user just clicking into the main form with the mouse.
Neither the LostFocus/Decativate events of the pop-up nor the GotFocus/Activate events of the main form fire.
I would theoretically be possible to run a time or a loop and check Screen.ActiveForm. - This would be fairly ugly, I'd rather avoid that.
Is there a better way?
How can I detect when a pop-up form "lost the focus", by which I mean when another form becomes Screen.ActiveForm?
Particularly for the scenario of the user just clicking into the main form with the mouse.
Neither the LostFocus/Decativate events of the pop-up nor the GotFocus/Activate events of the main form fire.
I would theoretically be possible to run a time or a loop and check Screen.ActiveForm. - This would be fairly ugly, I'd rather avoid that.
Is there a better way?