
repost: Form in a container or idea
sorry for the delay (from the other thread)... the trick is:
Dim f as New Form
f.TopLevel = false
TabPage1.Controls.Add(f)
f.Visible = true
However, you'll still have a caption bar, etc, so you'll need to rip those
off...
Quote:
> How can i add an form in an container.
> Dim f as New Form
> TabPage1.Controls.Add(f)
> f.Visible = True
> does not work because you can't add a toplevel control.
> What i want to do is to simulate the VS7 style of the tabbed forms.
> Any ideas?
> wolfgang