Hello,
I have a main form that opens other forms. These forms in turn open other forms, etc. What happens is I end up with a pile of forms of different sizes that poke out from behind the next form that opens. I am looking for a simple way to hide and unhide these forms when they lose focus and get focus, but I am finding that neither of those events are occurring. I did switch to using the command button that calls the next form to set the current forms Visible property to False. What I can't figure out is how to set the invisible form's Visible property back to true. I want to work it out so only one form is visible at a time. I am doing it this way because I can't close the current form since the new forms depend if the previous forms. Since the previous form I want to display is still open I can't use the OnLoad event or the On Open event.
Previously the application displayed the forms in tabs which completely covered the previous form so this was not a problem. I just thought this didn't look professional and changed Document Windows property to overlapping tiles.
Hope you can help.