I open a form as Model+PopUp, using the acDialog option.
from this form I open a second form (As PopUp but not as modal).
I want to know when user move the focus from the second form to the first one (to close the second) but neither the Activate nor GotFocus events (on the first form) are trigered.
They are not even trigered when I first open this form
I can't use the second form LostFocus event as it never has the focus. this is a "OneClick" form.
from this form I open a second form (As PopUp but not as modal).
I want to know when user move the focus from the second form to the first one (to close the second) but neither the Activate nor GotFocus events (on the first form) are trigered.
They are not even trigered when I first open this form

I can't use the second form LostFocus event as it never has the focus. this is a "OneClick" form.