Adding a form inside a form!

  • Thread starter Thread starter Adam Tibi
  • Start date Start date
A

Adam Tibi

Hi,
In some cases when building an SDI application, you need to add a form
inside another one. Some developers use UserControl to simulate this, while
UserControls lack certain features when compared to forms.
Is it possible to add a form inside another? Could any one provide a snippet
code?
 
Adam Tibi said:
In some cases when building an SDI application, you need to add a form
inside another one. Some developers use UserControl to simulate this,
while UserControls lack certain features when compared to forms.
Is it possible to add a form inside another? Could any one provide a
snippet code?

\\\
Dim f As New FooForm()
f.TopLevel = False
Me.Controls.Add(f)
///
 
Back
Top