Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. child form shows menustrip when automatically merging with MDI parent form

child form shows menustrip when automatically merging with MDI parent form

Scheduled Pinned Locked Moved C#
help
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    red60mans
    wrote on last edited by
    #1

    In my windows app I have a MDI parent form and a child form. In my parent form i have Menustrip control with toolstripmenu items File and windows File further has subItems open and exit In child form i have a Menustrip with toolstipmenu item File. This File item has a subItem save and fileItem has the following setting fileItem.MergeAction = MergeAction.MatchOnly; Now automatic merging of the child and parent forms is going rightly after merging my Parent form menustrip has this File with subitems ---open ,save and exit But the problem is my child form is also showing a menustrip with File Item. However it doesnt show save subitem of the File, which is rightly merged to parent File item. I dont understand why the File Item is being shown in the child form. The child form is not supposed to show any menustrip as everything from child form is automatically merged to the parent forms menustrip. Any help is appreciated, yojimbo

    R 1 Reply Last reply
    0
    • R red60mans

      In my windows app I have a MDI parent form and a child form. In my parent form i have Menustrip control with toolstripmenu items File and windows File further has subItems open and exit In child form i have a Menustrip with toolstipmenu item File. This File item has a subItem save and fileItem has the following setting fileItem.MergeAction = MergeAction.MatchOnly; Now automatic merging of the child and parent forms is going rightly after merging my Parent form menustrip has this File with subitems ---open ,save and exit But the problem is my child form is also showing a menustrip with File Item. However it doesnt show save subitem of the File, which is rightly merged to parent File item. I dont understand why the File Item is being shown in the child form. The child form is not supposed to show any menustrip as everything from child form is automatically merged to the parent forms menustrip. Any help is appreciated, yojimbo

      R Offline
      R Offline
      red60mans
      wrote on last edited by
      #2

      dont worry all i had to do was set the childs menustrip.visible = false yojimbo

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups