1

I have a MDI child form which has got some menu options under File tag. Also I have some menu options under the same File tag in the MDI parent form. How to merge the options under the File menu so that they appear under a single File menu when the child form is maximized. I tried the steps given in the following stackoverflow questions but I did not get the desired solution.

Merge menu strip items for MDI windows

Merge menu items from MDI child into container's menu

Following the steps given in the above questions, I have two File menus appearing in the menu bar. enter image description here

How to resolve this?

Community
  • 1
  • 1
kakkarot
  • 478
  • 1
  • 9
  • 24

1 Answers1

3

I used this solution:

  • Set the MergeAction property of your mdi child File menu to MatchOnly
  • Set the Visible property of the menu strip of your child mdi form to false

enter image description here

Reza Aghaei
  • 120,393
  • 18
  • 203
  • 398