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. menu items

menu items

Scheduled Pinned Locked Moved C#
question
4 Posts 3 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.
  • X Offline
    X Offline
    xilefxilef
    wrote on last edited by
    #1

    Hi I have various forms that are opened by a main form (SDI) and each form has its own context menu (for right clicking) that includes functions like copy, paste, delete, etc. But if I select Edit->Copy from the main menu of the main form, it should copy the right thing in the currently active form (the form with the focus) . What is the best way to accomplish this basic function? Is it through menu merge? Thanx

    M S 2 Replies Last reply
    0
    • X xilefxilef

      Hi I have various forms that are opened by a main form (SDI) and each form has its own context menu (for right clicking) that includes functions like copy, paste, delete, etc. But if I select Edit->Copy from the main menu of the main form, it should copy the right thing in the currently active form (the form with the focus) . What is the best way to accomplish this basic function? Is it through menu merge? Thanx

      M Offline
      M Offline
      miah alom
      wrote on last edited by
      #2

      Are you talking about MDI. If its a MDI, then Menu merge will work. Have the implementation of the menu clicks on the child form. The parent window should provide the basic menu's like Exit, Open, Close arrange vertically etc.

      X 1 Reply Last reply
      0
      • M miah alom

        Are you talking about MDI. If its a MDI, then Menu merge will work. Have the implementation of the menu clicks on the child form. The parent window should provide the basic menu's like Exit, Open, Close arrange vertically etc.

        X Offline
        X Offline
        xilefxilef
        wrote on last edited by
        #3

        i'm actually working with SDI, is there a way to merge it in SDI?

        1 Reply Last reply
        0
        • X xilefxilef

          Hi I have various forms that are opened by a main form (SDI) and each form has its own context menu (for right clicking) that includes functions like copy, paste, delete, etc. But if I select Edit->Copy from the main menu of the main form, it should copy the right thing in the currently active form (the form with the focus) . What is the best way to accomplish this basic function? Is it through menu merge? Thanx

          S Offline
          S Offline
          shabonaa
          wrote on last edited by
          #4

          u should put the data to be copied in the active form in the somthing liake a clipboard (ie: an object) and pass this object to the main form

          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