473,769 Members | 5,570 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MDI menus

the way I'm undersatnding the MSDN documentation when
creating parent and child forms the main menu for the
child form should not be displayed on the child form
itself but instead be incorporated into the parent forms
main menu, however I just cannot make this work, with the
parents main menu being displayed at all times, I know
this is rather vague but hopefully someone may have
encountered a similar problem at sometime and may be able
to steer me in the right direction.

Parent/Child interaction works as expected in all other
espects so I can only presume that this has been set up
properly

Thanks in advance

Regards steve
Nov 20 '05 #1
3 1783
a
Do a search on Merging Menu items.

Sorry I can't help more.

kevin

"Steven Smith" <St**********@e mailaccount.com > wrote in message
news:07******** *************** *****@phx.gbl.. .
the way I'm undersatnding the MSDN documentation when
creating parent and child forms the main menu for the
child form should not be displayed on the child form
itself but instead be incorporated into the parent forms
main menu, however I just cannot make this work, with the
parents main menu being displayed at all times, I know
this is rather vague but hopefully someone may have
encountered a similar problem at sometime and may be able
to steer me in the right direction.

Parent/Child interaction works as expected in all other
espects so I can only presume that this has been set up
properly

Thanks in advance

Regards steve

Nov 20 '05 #2
Hi, if you maximise your MDI Child form, in your MDI Parent Window, the
menu's will automatically merge.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflecti on Master "

==== Converting to 2002 ====
Remove inline declarations
"Steven Smith" <St**********@e mailaccount.com > wrote in message
news:07******** *************** *****@phx.gbl.. .
the way I'm undersatnding the MSDN documentation when
creating parent and child forms the main menu for the
child form should not be displayed on the child form
itself but instead be incorporated into the parent forms
main menu, however I just cannot make this work, with the
parents main menu being displayed at all times, I know
this is rather vague but hopefully someone may have
encountered a similar problem at sometime and may be able
to steer me in the right direction.

Parent/Child interaction works as expected in all other
espects so I can only presume that this has been set up
properly

Thanks in advance

Regards steve

Nov 20 '05 #3
Steven,
In addition to the other's comments.

Parent & Child form's menus are only merged automatically when you have a
MDI Container form and MDI Child forms. If you have other parent child
windows, such as those in Outlook & Outlook Express, I would not worry about
merging the menus, or I would manually merge the menus, depending on the
requirements for the app.

To create a MDI Container you set the Form.IsMdiConta iner property for that
form to True while designing the form. (or you can set it in code later).

A MDI Child form is designed the same, however when you display it you need
to set the Form.MdiParent property to your MDI Container. Its 'easiest' to
have methods in your MDI Container form to display the child, as then you
can use Me to the child's MdiParent property.

For MDI forms the Parent & Child menu's will automatically be merged for the
currently displayed child. Based on the MenuItem.MergeO rder &
MenuItem.MergeT ype. Be certain to set the MergeOrder & MergeType when
designing your parent & child menus so the two menus are combined correctly.

To manually merge menus you can use the MenuItem.MergeM enu method.

Hope this helps
Jay

"Steven Smith" <St**********@e mailaccount.com > wrote in message
news:07******** *************** *****@phx.gbl.. .
the way I'm undersatnding the MSDN documentation when
creating parent and child forms the main menu for the
child form should not be displayed on the child form
itself but instead be incorporated into the parent forms
main menu, however I just cannot make this work, with the
parents main menu being displayed at all times, I know
this is rather vague but hopefully someone may have
encountered a similar problem at sometime and may be able
to steer me in the right direction.

Parent/Child interaction works as expected in all other
espects so I can only presume that this has been set up
properly

Thanks in advance

Regards steve

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
2862
by: chart43 | last post by:
I have question about the technique for css dropdown menus described in http://www.alistapart.com/articles/horizdropdowns/. Based on an html list, it has a few items in a 1st order list and further 2nd order lists that appear to the right when hovering over items in the 1st order. Anyone figured how to modify to go to n order greater than 2? Bit tricky I found. I could get the other orders but they all appeared when hovering over the 1st...
7
2738
by: Marci | last post by:
I found this script for cascading menus, however, I cannot reach the author to solve the bug I am having when I add a second menu to it. My problem is this: If I click on the first link, the menu displays well. If I then click on the second link, the first menu from the first link still displays. How do I get make the first menu disappear when I click on the second and vice versa? Please help...thanks.
2
3491
by: Pete | last post by:
In Access 95/97 I used to be able to create pull down menus (File,Edit ...) from a macro. It seems there used to be some wizard for that. However in Access 2000 it seems you have to build your menus by customizing a toolbar. With this method you have to create a separate macro for every single menu and sub menu. The old method would allow me to include several menus (File/ print/ page setup ...) all within one macro. Now it seems I...
1
11321
by: cefrancke | last post by:
I have set the Startup properties to the following... All menus, toolbars, etc are turned off plus these are unchecked Allow Full Menus Allow Built-in Toolbars Allow Default Shortcut Menus Allow Toolbar/Menu Changes Use Access Special Keys
3
11522
by: cefrancke | last post by:
The only reason I ask is that no one has made this subject clear or given a definitive answer. What I would like to do is, after turning off all the menus/tbars/etc using the startup options. Upon restarting Access, when an admin is detected (I use a GetSystemUser() function) I want to restore everything so that Access behaves like normal, ie. all menus/tbars/etc show up (only where they are supposed to show up).
0
3555
by: cefrancke | last post by:
I recently discovered, that if you set the startup options for "security", you will have alot of work do to get Access back to "normal". If you disable the built-in menus/toolbars you'll have to reconstruct the one you want as a custom menu/shortcut(popup)/toolbar. All this was a long journey in order to allow the user to sort/copy on a datasheet view of a subform, with all the menus disabled in the startup options.
4
1702
by: Karl Irvin | last post by:
I distribute an A 2000 app as a mde. On a few customers, my custom menus are overwritten. The top menu is generally there but the choices on the menus are gone or replaced by something else. I can't figure this one out. Any ideas on what may be causing this? It happens on machines with A 2000 and A 2003, Win Home and Win XP. I've yet to see a pattern but it happens on about 3 or 4% of the users machines.
0
264
by: Keith | last post by:
When merging two menus, it doesn't actually merge their sub menus and menu items It only displays two menus on one forms instead of merging two sub menus into one if they have sam menu text e.g. if menu1 has submenu File which has New,Open item and menu2 has submenu File which has Save After merging menu2 into menu1, it displays two sub menu
0
2916
by: ARC | last post by:
Hello all, For right-click (shortcut) menus in access 2007, I've been using a round-about method of opening access 97 on an old computer, modifying my own custom shortcut menus, then importing the menus only into my access 2007 project. This is proving cumbersome (especially since my old pc with access 97 likes to blue screen when running acc 97), and I was wondering if there's an easier way?
0
10219
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3567
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.