Focus and PopUps (The Screen.ActiveForm Nightmare)
PopUp forms do not get focus, because they are not intended for data.
I have read that plenty of times and know perfectly that is by design.
But to use a PopUp form is the only way to go out of MDI boundaries, sometimes it could be practical to open data in a Popup form, and do not know why that should lead to a focus nightmare, in which a lot of events and functions cease to work or change his behaviour.
It will very nice if we could forget that old assumptions about popups, getting in it the common focus functions.
Thanks
Pd.: One of the most annoying problems is the impossibility to "freeze" the form while code is executing, because Popups do not respond to Application.Echo False and to cancel Painting is not the same.

1 comment
-
Jf Ruiz commented
Users with problem because of that