473,322 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 1764
a
Do a search on Merging Menu items.

Sorry I can't help more.

kevin

"Steven Smith" <St**********@emailaccount.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.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Steven Smith" <St**********@emailaccount.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.IsMdiContainer 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.MergeOrder &
MenuItem.MergeType. 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.MergeMenu method.

Hope this helps
Jay

"Steven Smith" <St**********@emailaccount.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
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...
7
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...
2
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...
1
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...
3
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. ...
0
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...
4
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. ...
0
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 ...
0
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.