P
Philip Tepedino
Hi,
I'm writing an application which, when the users clicks a button in
FormA(MDI form), FormB is loaded. I'm using Dim FormB as New FormX (FormB
is then set as a child of FormA)
My problem is that, if the user clicks on that same button again, a second
copy of FormB is loaded. Is there a way I can either close any open
instances of FormB then load a new one, or to just bring whatever FormB is
open to the foreground and reuse it? I don't want to ever have more than one
instance of FormB open.
Also, when making an explorer-like interface... if i want to have many
different "side bars", what is the best way to design it in design view?
I've been trying to make panels and just stack them all on top of each other
then show/hide whichever is selected, but thats turning out to be a big pain
with trying to position controls and work with it in general. Is there a
more elegant solution?
Thanks,
Philip Tepedino
I'm writing an application which, when the users clicks a button in
FormA(MDI form), FormB is loaded. I'm using Dim FormB as New FormX (FormB
is then set as a child of FormA)
My problem is that, if the user clicks on that same button again, a second
copy of FormB is loaded. Is there a way I can either close any open
instances of FormB then load a new one, or to just bring whatever FormB is
open to the foreground and reuse it? I don't want to ever have more than one
instance of FormB open.
Also, when making an explorer-like interface... if i want to have many
different "side bars", what is the best way to design it in design view?
I've been trying to make panels and just stack them all on top of each other
then show/hide whichever is selected, but thats turning out to be a big pain
with trying to position controls and work with it in general. Is there a
more elegant solution?
Thanks,
Philip Tepedino