Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to remove MenuStrip from MDI child
Message
From
08/01/2007 14:14:33
 
 
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01183318
Message ID:
01183534
Views:
22
Thank you.

In my actual application I have

Main form MenuStrip: AllowMerge: True

Main form Menustrip File menu:

MergeAction: MatchOnly
MergeIndex: -1


MDI Child form base class MenuStrip: AllowMerge: true

MDI Child form base class MenuStrip File Menu:

MergeAction: MatchOnly
MergeIndex: -1


MDI Child form base class MenuStrip File Menu New item:

MergeAction: Insert
MergeIndex: 1


When I open child window, child menustrip is not merged Main form.

Any idea what causes this ?

>Hi,
>
>Firstly you'll need to set the Visible property of the menustrip in the child form to false - otherwise it will show up even if empty.
>
>But that doesn't address the issue of why the 'File' option is not getting merged. You could try setting the MergeAction to 'MatchOnly' in the parent form as well (I'm not sure about this but although Help states that this is the default a reset sets the MergeAction to 'Append')
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform