Hi Samuel,
Did you mean you want to show a form inside a tabpage? If so, please try
this:
Form2 frm=new Form2();
frm.TopLevel =false;
tabPage1.Controls.Add(frm);
frm.Show();
Hope this helps.
Regards,
Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Quote:
>Subject: Form in Tab Panel
>Date: Wed, 5 Mar 2003 16:46:45 -0600
>Lines: 12
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>Newsgroups: microsoft.public.dotnet.languages.vb
>NNTP-Posting-Host: adsl-65-66-88-89.dsl.wchtks.swbell.net 65.66.88.89
>Path: cpmsftngxa06!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
>Xref: cpmsftngxa06 microsoft.public.dotnet.languages.vb:94342
>X-Tomcat-NG: microsoft.public.dotnet.languages.vb
>Hi,
>I would like to reparent(?) a form object onto a tab panel. Is this
>possible or do I need to make it a user controls?
>TIA
>Sam Matzen