Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 7th, 2006, 03:19 AM
Registered User
 
Join Date: Apr 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Swithing between child windows, Like Internet Expl

Hi

I need help on swithing between child windows, I have one parent form and say 3 child forms, that get opened up by MenuStrip on parent form1, but some times u end up with a few child windows open so it would be good to be able to hit forward or back button to scroll though them

i have the below setup
Form1
Child1
Child2
Child3

Private Sub ToolStripMenuItem6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripMenuItem6.Click
'Back Button

End Sub
Private Sub ToolStripMenuItem7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripMenuItem7.Click
'Foward Button

End Sub

Best way to put it is to be able to scroll though like internet explorer Forward Button & Back for ToolStripMenu
Any feed back would really be appreaciated. :)

 
Old April 7th, 2006, 06:51 AM
Registered User
 
Join Date: Apr 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Found solution

It's just a few clicks in the design window. Add an appropriate top-level menu item to your MenuStrip. Select the MenuStrip in the designer then go to the Properties window. Click on the MdiWindowListItem property and you will get a list of available items. Select the one you want the list to appear under and you're done. Everything else is taken care of for you. As you open and close child windows they will be automatically added to and removed from the menu. See the attached screenshots if you're unsure. One is the design time process and the other is the run time result.







Similar Threads
Thread Thread Starter Forum Replies Last Post
showing windows forms in Internet Explorer amirmunir .NET Framework 1.x 1 June 12th, 2006 09:17 PM
Opening MDI Child on Button Click of MDI Child Sachin Shinde Visual Studio 2005 0 June 8th, 2006 05:05 AM
Internet Explorer cannot open the internet site cathiec ASP.NET 2.0 Basics 1 October 22nd, 2005 01:30 PM
Internet Explorer between Windows and MacIntosh rpalanivelu Javascript 2 August 31st, 2004 10:52 PM
Windows 98 OCX control issues vs Windows XP benoyraj VB How-To 0 May 5th, 2004 08:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.