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. Extend Button With DropDown

Extend Button With DropDown

Scheduled Pinned Locked Moved C#
visual-studiotutorialquestion
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.
  • D Offline
    D Offline
    Dominic Farr
    wrote on last edited by
    #1

    See the 'Back' button on your IE browser, or the 'New' button in VS. They have this little arrow to the right of the text which if selected gives a drop down of related choices. Is this an extended button? Or simply two buttons very close to each other? Does anyone know where I can learn about how to make such a button. Thank you. -d

    S S 2 Replies Last reply
    0
    • D Dominic Farr

      See the 'Back' button on your IE browser, or the 'New' button in VS. They have this little arrow to the right of the text which if selected gives a drop down of related choices. Is this an extended button? Or simply two buttons very close to each other? Does anyone know where I can learn about how to make such a button. Thank you. -d

      S Offline
      S Offline
      Susan Hernandez
      wrote on last edited by
      #2

      Well, in Visual Studio 2003, this is built in. I believe these are the steps: - Place a System.Windows.Forms.Toolbar on the top of your form. - Now edit the properties, and choose the Buttons collection. - Add a new button, and for the Style, choose Drop Down button. - I think here you have to assign a Drop Down list into the property DropDownMenu. Try that see if it works. If you don't have VS 2003 maybe post what dev env you are using. :)

      D 1 Reply Last reply
      0
      • S Susan Hernandez

        Well, in Visual Studio 2003, this is built in. I believe these are the steps: - Place a System.Windows.Forms.Toolbar on the top of your form. - Now edit the properties, and choose the Buttons collection. - Add a new button, and for the Style, choose Drop Down button. - I think here you have to assign a Drop Down list into the property DropDownMenu. Try that see if it works. If you don't have VS 2003 maybe post what dev env you are using. :)

        D Offline
        D Offline
        Dominic Farr
        wrote on last edited by
        #3

        Yes, that is the button I'm looking for. I just don't want it in a tool bar. I'll look at the code that is generated and see if I can adapt it for my needs. Thank you -d VS 2003 is what I'm using

        1 Reply Last reply
        0
        • D Dominic Farr

          See the 'Back' button on your IE browser, or the 'New' button in VS. They have this little arrow to the right of the text which if selected gives a drop down of related choices. Is this an extended button? Or simply two buttons very close to each other? Does anyone know where I can learn about how to make such a button. Thank you. -d

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

          A user control with two buttons and a context menu should do it.

          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