9 Years
Discussion Span
Last Post by samsylvestertty

u can accomplish this in two ways.

either u use

form1.show vbmodal

here form1 is form which will appear in front of the form which u wish to keep behind



here form2 is the form which u wish to keep behind

otherwise u can use form2.hide


I want to show a form and on top of that form I want to show another form. I want to be able to access any of the two forms (so I can't use vbmodal) One of the forms is bigger than the other and that one I want to always have in the back. I'm not sure my question is clear, let me know if not


Create an MDI Form as the bigger form and edit propety "MDIChild" of the smaller form to true.
Now you can use the twice form in one time.
Unfortunately the MDI Form doesn't support the buttons, labels, etc. so you have to use them in the menubar.


Open any child form and call the function ZOrder.
This will get the child form in front of other forms

When you have the child forms in front, you will automatically have you parent form at back.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.