|
Subject:
|
Swithing between child windows, Like Internet Expl
|
|
Posted By:
|
oceaniana
|
Post Date:
|
4/7/2006 3:19:08 AM
|
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. 
|
|
Reply By:
|
oceaniana
|
Reply Date:
|
4/7/2006 6:51:22 AM
|
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.
|