MDI and Menu Strips

HeavenCore

Well-known member
Joined
Apr 10, 2007
Messages
77
Location
Bolton, England
Programming Experience
1-3
is it possible to prevent an MDI Child Form Menu Strip from merging with the MDI parent menu strip?

More Detail:

i have frmMdiMain an MDI form with a menustrip control with several options.

I have a child form with its own menustrip, but when the child form gains focus, its menu strip goes blank and the items move to the frmMdiMain menustrip.

Can this be prevented?
 
Select the property AllowMerge=False for the MenuStrip. If you do this for the Mdi parent no child menu will merge. You can also selectively do this for only some child form MenuStrips, while letting the others still merge as default.

Setting the child menustrip Visible=False when merged hides the empty strip.
 
Back
Top