Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / November 2006

Tip: Looking for answers? Try searching our database.

Using tabs within a window

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marco Shaw - 30 Nov 2006 18:34 GMT
*Very new to .NET*

I want to open a tabbed Window: in tab one, I'd like an application like
Notepad to show for example, then in tab 2 have Wordpad.

Can this be done?  What class should I start looking at?

Marco
Bruce Wood - 30 Nov 2006 19:55 GMT
> *Very new to .NET*
>
> I want to open a tabbed Window: in tab one, I'd like an application like
> Notepad to show for example, then in tab 2 have Wordpad.
>
> Can this be done?  What class should I start looking at?

Well, you have two problems here.

The first is the easiest to solve: to put tabs within one of your
Forms, just add a TabControl to the form and then add the TabPages you
need to the TabControl's TabPages property. You can do this either at
design time (using Visual Studio designer) or at run time in code. The
easiest way to do the latter is to do it first at design time using the
Designer, and then look at the code it generates and make your code do
the same thing.

The second problem is how to host an independent Windows application
like Notepad or Wordpad inside your own application. I have no idea how
to do that: someone else here will have to help you with that.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.