By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,670 Members | 1,512 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,670 IT Pros & Developers. It's quick & easy.

MenuStrip and ToolStripMenuItem

P: n/a
Hello!

When I have an MDI application and I want to control the behaviour of the
menuItems(ToolStripMenuItem)
there is a property called MergeAction that is used and MergeIndex.

In the MDI child I have the following menu
File Format Help

File has MergeAction = MatchOnly
Format has MergeAction = MatchOnly
Help has MergeAction = Remove
All these three has MergeIndex = -1

In the MDI Parent there is only one item named Help
Help has MergeAction = Append

According to the documentation for Remove it says. "Removes the matched
item."
When I run the application this Help item in the MDI Child is still there.

Can somebody explain why it doesn't work as the documentation says ?
I have most certain missunderstood something here.

The only MergeAction alternative that is easy to understand and works as
expected is append.
//Tony
Jul 1 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.