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. Merge menu items using the MenuStrip

Merge menu items using the MenuStrip

Scheduled Pinned Locked Moved C#
questiondatabasehelp
1 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.
  • E Offline
    E Offline
    Eduard Keilholz
    wrote on last edited by
    #1

    Hey guys, I have a MDI Windows app. The MDI Parent has a MenuStrip control with a few menu options File > Merge index 1
    - New > Merge index 101
    - Open > Merge index 102
    - Seperator > Merge index 198
    - Exit Application > Merge index 199
    I have a second form which is opened as MDI Child of the parent described above containing a MenuStrip as well and having the following menu items : File > Merge action MatchOnly
    - Seperator > Merge index 110 & MergeAction Insert
    - Save > Merge index 111 & MergeAction Insert
    - Save As > Merge index 112 & MergeAction Insert
    The MenuStrip's Visible property is set to 'false'. Now when I run my app, the parent's menu is displayed, everything fine. When I open the child window, the items Seperator, Save and Save As are neatly merged into the File menu of the MDI Parent, however the items are not ordered using the Merge Index, the items are appended at the bottom of the menu. How can I make the menu strip work with the Index so the menu items order is right? Thanks for the help, keep up the good work!

    .: I love it when a plan comes together :. http://www.zonderpunt.nl

    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