.Lostfocus works fine for a form if another form is opened, however if another application is opened and gets focus the lostfocus of the foremost foxpro application form does not execute.
What can be used to test if the foxpro application itself has lost focus, as even when it does not have focus the foremost form in that application still thinks it has focus.
What can be used to test if the foxpro application itself has lost focus, as even when it does not have focus the foremost form in that application still thinks it has focus.