473,387 Members | 1,483 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,387 software developers and data experts.

Explanation of menu merging

Is there a decent explanation of how menu merging with MDI forms work in
VB.NET? I've read through the online help and it still seems that whenever
I change menus around or whatever, it breaks everything. VB6, as repetitive
as it was to retype menus, was at least consistent. It seems that VB.NET
throws menu items wherever it feels like.
Nov 20 '05 #1
2 2402
* "Dave Taylor" <no*********@processeng.com> scripsit:
Is there a decent explanation of how menu merging with MDI forms work in
VB.NET? I've read through the online help and it still seems that whenever
I change menus around or whatever, it breaks everything. VB6, as repetitive
as it was to retype menus, was at least consistent. It seems that VB.NET
throws menu items wherever it feels like.


Please be more specific. What exactly do you want to archieve and
what's the "problem" with doing that?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Herfried...

For example, I have the typical File, View, Tools and Help menus on my main
MDI form, all set to MergeItems, the subitems on those menus are set to Add.

On a child form I have File, Edit, View, Tools with some subitems.

When the menus merge, the Help menu completely disappeared, and some of its
items move to the File menu.

Finally, I have gotten this behaviour to stop by numbering (MergeOrder) the
MDI parent menus File (1), View (2), Tools (3), Help (4).

But this begs the question what about the Edit menu (in this scheme it would
be MergeOrder 1.5)....does this mean I should be numbering the items 10, 20,
30, 40 to leave enough space between items to insert additional items? What
I'm looking for is really a good explanation of how menu merging
works...Microsoft's documentation in this area is lousy IMO (and that of
others based on my Google searches about menu merging). A good book
recommendation would be great....I currently have VB.NET Programmer's
Cookbook and it doesnt even touch the subject.

Thanks

Dave Taylor

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bv************@ID-208219.news.uni-berlin.de...
* "Dave Taylor" <no*********@processeng.com> scripsit:
Is there a decent explanation of how menu merging with MDI forms work in
VB.NET? I've read through the online help and it still seems that whenever I change menus around or whatever, it breaks everything. VB6, as repetitive as it was to retype menus, was at least consistent. It seems that VB.NET throws menu items wherever it feels like.


Please be more specific. What exactly do you want to archieve and
what's the "problem" with doing that?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #3

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

Similar topics

4
by: Sean Connery | last post by:
I know I can merge a child forms menu into the MDI parent's mainmenu, but I would also like to listen for common events fired from the mainmenu that might be of interest to any child forms. Is...
3
by: genc ymeri | last post by:
Hi, I dropped the activeX of MSVIsio2003 in a C#/VB.Net form. I set two of its properties "negotiatemenu"/"negotiatetoolbars" to true but no menu is shown up. Any idea ? Thank You very...
2
by: Jim H | last post by:
I would like to have some MenuItems that are specific to my child form appear in the main menu. In the MSDN documentation: Menu merging is typically done to merge the menus of a Multiple...
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: jon morgan | last post by:
Hello, In an MDI application how can I prevent the CLR automatically merging a child windows' menu with that of the parent MDI form ? Thanks for any help Jon
4
by: Simon Jefferies | last post by:
Hello, Whats the best way to merge menus together? I have an MDI application with a simple main menu with items like File, Edit, View, Tools and Help etc. I'd like the MDI child windows to add...
0
by: Amiram Korach | last post by:
When you create a MDI form, you can attach a main menu to the parent and to the child. When a child form is active, its menu is merged with the parent menu. The problem is: when the forms are...
0
by: tobiwan_kenobi | last post by:
We have an MDI application that looks for forms in which a common interface has been implemented. We can instantiate the forms and display them as children of the mdi and use the functionality on...
0
by: **Developer** | last post by:
Been experimenting with menu items merging and it seems to me that all I need is Replace and Remove If the item is not already there Add, Merge and Replace all seem to add it. If it is already...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...

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.