Merge MDI parent menu and child menu

C

CJM

I have a parent MDI form with a menu and a child form with a menu.
Each menu has a item named 'View'. When the menus merge I end up with
two 'View' menu items.

Is there a way to prevent this and make the items under each 'View'
combine into one.


Any help would be appreciated. Thanks.
 
B

Brian P. Hammer

Play around with the mergetype and mergeorder of each main menu header and
menu item to get it to work. I don't have it right here in front of me, but
if I remember correctly, you have to set the type to merge and make sure the
merge orders of each menu item are the same.

With the setup below,
MDI
File - type = merge order = 0
Open - order = 1
new = 2
close = 5

Then you setup the child as an add and have file as order = 0 and save = 3

Confused yet?!? This should get you headed in the right direction.

HTH,
Brian


MDI
File Tools
...Open ..Options
...New ..None
...Close

Child
File Edit Tool
...Save ..View ..New
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top