MDI Menu merging

I have a question, which I suspect is embarrasingly easy, but here goes:

I want to merge the menu of an MDI child window into the menu of the MDI frame window. This happens automatically when I set the AutoMerge property of the child menu to True. BUT: If I have a File menu (with some subitems) in the main menu and a File menu (with another set of subitems) in the child window, I would like the merged File menu to contain BOTH groups of subitems. But I can only get my child window File menu to replace the main window File menu. What do I do to get the subitems merged?

Thanks in advance,
AndersWP
LVL 1
AndersWPAsked:
Who is Participating?
 
rwilson032697Connect With a Mentor Commented:
You have to do it manually - the automerge of menus does not support merging items within the same named menu.

The other option is to make the MDI menu contain all the items that it should have when it is focused.

Cheers,

Raymond.

0
 
AndersWPAuthor Commented:
Edited text of question.
0
 
ptmcompCommented:
Hi AndersWP

Till now, I didn't find a way to merge the subitems of MDI menus but you can do it yourself (remove the item from child menu and then insert it in the frame windows menu). I'm writing a component that should implement this behaviour. But unfortunatly right now I haven't a lot of time, so I don't know when I will have finished my component...

Regards, ptm.
0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
ptmcompCommented:
Hey AndersWP

This is not an answer - this is a comment. I don't think you should earn points for this... What are other experts thinking?
0
 
ptmcompCommented:
Sorry the comment should have been sent to rwilson...
0
 
rwilson032697Commented:
How is it not an answer - it says why it can't be done (via automatic merging), and how to do it yourself to overcome this limitation.

Raymond.

0
 
viktornetCommented:
Listening... but not hearing anything :)
0
 
AndersWPAuthor Commented:
I think Raymond is right - if it can't be done then it can't be done, and the solution must be to point that out and indicate an alternative.

So, thanks for the answer Raymond, even though there apparently was no simple solution.

AndersWP
0
All Courses

From novice to tech pro — start learning today.