Page 1 of 1
Start process in panel
Posted: Wed Oct 02, 2013 6:02 pm
by muttley1968
Hi just wondering if anyone knows how to start a program in a panel I don't mean like notepad
I want to start a program that is already in my program if you get me so I want to use a panel as a parent and then my program.show as a child
Re: Start process in panel
Posted: Wed Oct 02, 2013 7:52 pm
by comathi
Do you mean you want to display a second Form in your panel? In that case, you could do the following:
Code: Select allDim f As New Form2
f.TopLevelControl = False
Panel1.Controls.Add(f)
f.Show()
Pretty sure that's how it goes lol. I'm on mobile right now so I can't confirm.
Re: Start process in panel
Posted: Thu Oct 03, 2013 6:39 am
by muttley1968
its telling me property is read only for the
f.toplevelcontrol = false
Re: Start process in panel
Posted: Thu Oct 03, 2013 6:53 am
by Smiley
I think it's just f.toplevel = false
Re: Start process in panel
Posted: Thu Oct 03, 2013 4:00 pm
by muttley1968
Nah that dont work either