Form in Tab Panel 
Author Message
 Form in Tab Panel

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



Mon, 22 Aug 2005 06:46:45 GMT  
 Form in Tab Panel
There's always the SetParent API.


Quote:
> 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



Mon, 22 Aug 2005 10:07:54 GMT  
 Form in Tab Panel
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



Mon, 22 Aug 2005 15:36:37 GMT  
 Form in Tab Panel
Felix,

Awsome.  Just what I needed.

-Sam Matzen



Quote:
> 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.

> --------------------

> >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



Mon, 22 Aug 2005 23:34:48 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Tab stop ranges not unique in tab panels!

2. Tab Order with Panels

3. How does one invoke a tab in the Control Panel

4. Check box on a panel on a tabbed dialog

5. Check box on a panel on a tabbed dialog

6. Control Panel/System/Device Manager tab Disable/Enable

7. Adding a user control to a SSTab tab panel at runtime

8. Check box on a panel on a tabbed dialog

9. Calling the System Tab in Control Panel

10. Running a form on panel within a form

11. Embed a form in a panel of another form

12. Combining tab order with tab order of a child form

 

 
Powered by phpBB® Forum Software