Home All Groups Group Topic Archive Search About

How To Create New Form From Form Or Tabs On A Form

Author
17 May 2006 6:24 PM
Christopher Lusardi
Hello,

    Is it possible to do any of the following in the same application?

    (1) Have a form open up other forms (windows).
    (2) Have tabs with a form.

Thanks,
Christopher Lusardi

Author
17 May 2006 6:44 PM
vbnetdev
1. Put a button on first form and tell it to show or showdialog in button
click event.

2. Tabcontrol?



--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



Show quoteHide quote
"Christopher Lusardi" <clusard***@aol.com> wrote in message
news:1147890272.861336.80100@g10g2000cwb.googlegroups.com...
> Hello,
>
>    Is it possible to do any of the following in the same application?
>
>    (1) Have a form open up other forms (windows).
>    (2) Have tabs with a form.
>
> Thanks,
> Christopher Lusardi
>
Author
18 May 2006 12:23 PM
Christopher Lusardi
vbnetdev wrote:
> 1. Put a button on first form and tell it to show or showdialog in button
> click event.

Is there anything wrong with using the "visible" property? I will only
have a few controls, and only one is main one.

Chris Lusardi

Show quoteHide quote
> "Christopher Lusardi" <clusard***@aol.com> wrote in message
> news:1147890272.861336.80100@g10g2000cwb.googlegroups.com...
> > Hello,
> >
> >    Is it possible to do any of the following in the same application?
> >
> >    (1) Have a form open up other forms (windows).
> >    (2) Have tabs with a form.
Author
18 May 2006 8:33 AM
Stanimir Stoyanov
Hi Christopher,

Regarding question number 2, you can create your own custom control
(deriving from System.Windows.Forms.UserControl) and include it as content to
various TabPage objects in a TabControl. However, you can not embed Form
instances in another non-toplevel control.

--
Stanimir Stoyanov
www.stoyanoff.info


Show quoteHide quote
"Christopher Lusardi" wrote:

> Hello,
>
>     Is it possible to do any of the following in the same application?
>
>     (1) Have a form open up other forms (windows).
>     (2) Have tabs with a form.
>
> Thanks,
> Christopher Lusardi
>
>