Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to remove MenuStrip from MDI child
Message
De
08/01/2007 14:14:33
 
 
À
08/01/2007 04:50:40
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01183318
Message ID:
01183534
Vues:
31
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform