Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Pro Visual Basic 2005
| Search | Today's Posts | Mark Forums Read
Pro Visual Basic 2005 For advanced Visual Basic coders working in version 2005. Beginning-level questions will be redirected to other forums, including Beginning VB 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro Visual Basic 2005 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 9th, 2007, 02:26 PM
Registered User
 
Join Date: Apr 2007
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Controlling MDI child form from MDI parent panel

Can anybody help me with this ->

I have three forms:

1.MDI Parent (Master.vb)
2.MDI child (Customer.vb) &
3.MDI child (Orders.vb).

On MDI Parent i have a panel (just below the menubar) which has the following buttons:

1. New
2. Edit
3. Save
4. Delete
5. Undo
6. Redo
7. First
8. Previous
9. Next
10. Last
11. Search
12. Print
13. Close

Now my problem is how do i determine the active MDIChild and control its data with the buttons located at Master.vb panel ? (Any help with codes would be great!)
 
Old May 25th, 2007, 12:20 PM
Registered User
 
Join Date: May 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Me = MDI Parent
RecipeViewer = MDI Child

On Button Click event :

RecipeViewer.MdiParent = Me
RecipeViewer.Show()
RecipeViewer.BringToFront()






Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying MDI Child Form Menus with MDI Parent ashu_from_india Pro VB 6 3 June 10th, 2008 11:01 PM
Setting MDI Parent / Child Kunkel VB.NET 2 March 27th, 2008 05:05 AM
Controlling MDI child form from MDI parent panel LuxCoder VB.NET 2002/2003 Basics 7 April 11th, 2007 02:38 PM
Controlling MDI child form from MDI parent panel LuxCoder VB How-To 1 April 9th, 2007 03:25 PM
Controlling MDI child form from MDI parent panel LuxCoder Visual Basic 2005 Basics 2 April 9th, 2007 03:24 PM





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