Panels and forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am probably barking up the wrong tree completely but can you load forms in
panels. If not what can i use to get that kind of effect.
 
Hi,

Set the forms toplevel property to false add it to the panels
control and then show it.

Dim frm As New Form2

frm.TopLevel = False

frm.Location = New Point(0, 0)

Panel1.Controls.Add(frm)

frm.Show()



Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top