Merge menu items using the MenuStrip
-
Hey guys, I have a MDI Windows app. The MDI Parent has a MenuStrip control with a few menu options File > Merge index 1
- New > Merge index 101
- Open > Merge index 102
- Seperator > Merge index 198
- Exit Application > Merge index 199
I have a second form which is opened as MDI Child of the parent described above containing a MenuStrip as well and having the following menu items : File > Merge action MatchOnly
- Seperator > Merge index 110 & MergeAction Insert
- Save > Merge index 111 & MergeAction Insert
- Save As > Merge index 112 & MergeAction Insert
The MenuStrip's Visible property is set to 'false'. Now when I run my app, the parent's menu is displayed, everything fine. When I open the child window, the items Seperator, Save and Save As are neatly merged into the File menu of the MDI Parent, however the items are not ordered using the Merge Index, the items are appended at the bottom of the menu. How can I make the menu strip work with the Index so the menu items order is right? Thanks for the help, keep up the good work!.: I love it when a plan comes together :. http://www.zonderpunt.nl