boogieoompa
09-04-2003, 08:57 PM
I have a program that has two primary forms. One is the main form and the other is a tool box that controls the main form. My question is how do I make it so that the toolbox form is always infront of the main form.
Thanks
When you show the toolbox form, specify the owner as the main form. Don't specify it being modal, just make the main form the owner.
--Van^
boogieoompa
09-04-2003, 09:30 PM
How do you specify the form as being modal?
You specify the form to be modal by the following:
form2.show vbModal, frmMain
You don't want that. When that happens, frmMain will stop executing. You want:
form2.show ,frmMainThis makes form2 a child of frmMain and it will always be on top of frmMain even if frmMain has focus.
--Van^