473,469 Members | 1,519 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Does Mdi automatically merge menus or do I need to code that

I open a form containing a MainMenu thusly:

Dim FormTextEditor As New FormChildArtEditorTool

FormTextEditor.MdiParent = Me

FormTextEditor.Show()

The form's main menu does not appear to have merged with the parents menu.

I know how to merge menus so I can do that if necessary.

My question is: is it necessary or should the merging be happening
automatically.

Thanks

PS It wouldn't surprise me to learn that it should be happening
automatically and there is something wrong with the program since the code
is quite messy.
Nov 23 '05 #1
2 1601
**Developer**,
Merging should happen automatically based on MenuItem.MergeType &
MenuItem.MergeOrder. For a detailed example see:

http://samples.gotdotnet.com/quickst...nFormsMDI.aspx
In VS 2005, you can also merge ToolStrips & MenuStrips in addition to Menus.

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
" **Developer**" <RE*************@a-znet.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
|I open a form containing a MainMenu thusly:
|
| Dim FormTextEditor As New FormChildArtEditorTool
|
| FormTextEditor.MdiParent = Me
|
| FormTextEditor.Show()
|
|
|
| The form's main menu does not appear to have merged with the parents menu.
|
| I know how to merge menus so I can do that if necessary.
|
| My question is: is it necessary or should the merging be happening
| automatically.
|
|
|
|
|
| Thanks
|
| PS It wouldn't surprise me to learn that it should be happening
| automatically and there is something wrong with the program since the code
| is quite messy.
|
|
Nov 23 '05 #2
Looks like a good example.

Thanks
"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.net> wrote in
message news:eR*************@TK2MSFTNGP10.phx.gbl...
**Developer**,
Merging should happen automatically based on MenuItem.MergeType &
MenuItem.MergeOrder. For a detailed example see:

http://samples.gotdotnet.com/quickst...nFormsMDI.aspx
In VS 2005, you can also merge ToolStrips & MenuStrips in addition to
Menus.

--
Hope this helps
Jay [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
" **Developer**" <RE*************@a-znet.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
|I open a form containing a MainMenu thusly:
|
| Dim FormTextEditor As New FormChildArtEditorTool
|
| FormTextEditor.MdiParent = Me
|
| FormTextEditor.Show()
|
|
|
| The form's main menu does not appear to have merged with the parents
menu.
|
| I know how to merge menus so I can do that if necessary.
|
| My question is: is it necessary or should the merging be happening
| automatically.
|
|
|
|
|
| Thanks
|
| PS It wouldn't surprise me to learn that it should be happening
| automatically and there is something wrong with the program since the
code
| is quite messy.
|
|

Nov 23 '05 #3

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

Similar topics

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 ...
1
by: Jeff Brown aka BrntPhish | last post by:
Can someone explain what the properties for merging menus are and how they work. I have a MDI Parent form with file, edit ...etc etc I also have a MDI Child Form with file edit & a menu that...
4
by: Brian Mitchell | last post by:
How do I keep my MDI children from merging their menus with the parent? I want both the parent and child to have their own menus bars. Thanks!!
0
by: rellik | last post by:
Hi All, I've run into a problem with the MenuStrip control and any help would be greatly appreciated! The problem I've got is that when use a control derived from the MenuStrip class all MDI...
1
by: Gary Brown | last post by:
Hi, I cannot get MDI menus to merge correctly in my .Net 2005 application. They merged in 2003. I've tried every combination of merge action to no avail. Can someone point to an example of a...
38
by: JTL | last post by:
I have learnt java before and now begin to learn c++ what puzzle me is that seem that different SDKs(c++builder, vs.net, gcc..) has its own class library we know that in java there are only one...
1
by: mr k | last post by:
Hi, I wanted to use mail merge with forms but Text form fields are not retained during mail merge in Word, I got the code from Microsoft but it doesn't remember the text form field options such as...
11
by: peter | last post by:
I am trying to get a SQL stored procedure to use user maintained MQT implicitly which raises questions on when they are used or not used. In theory you would expect the stored procedure to pick up...
6
by: Lord Zoltar | last post by:
I built a small app with VS C# Express 2008, and published it as a click-once app. I tried installing it on my local machine, and when I click on its icon from the Start menu, nothing happens....
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.