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. adding arrows to buttons

adding arrows to buttons

Scheduled Pinned Locked Moved C#
question
3 Posts 2 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
    Dsypher
    wrote on last edited by
    #1

    Hi, How can I add arrows like the ones that appear in DAP or IDM. Which says "Show Details" and contains an arrow that points downwards and when you click on it, it changes to "Hide Details" and the arrow points upwards... I hope my question is clear :laugh: There is no patch for ignorance

    A 1 Reply Last reply
    0
    • D Dsypher

      Hi, How can I add arrows like the ones that appear in DAP or IDM. Which says "Show Details" and contains an arrow that points downwards and when you click on it, it changes to "Hide Details" and the arrow points upwards... I hope my question is clear :laugh: There is no patch for ignorance

      A Offline
      A Offline
      Alomgir Miah
      wrote on last edited by
      #2

      The test way is to change the text of the button on the click event. This way you can toggle between the texts ">>Detail" to "Detail<<". The other way is to change the image on the button this.buttonTest.Image = (Image)TestIcons.GetIcon("ShowDetails.ico").ToBitmap(); Live Life King Size Alomgir Miah

      D 1 Reply Last reply
      0
      • A Alomgir Miah

        The test way is to change the text of the button on the click event. This way you can toggle between the texts ">>Detail" to "Detail<<". The other way is to change the image on the button this.buttonTest.Image = (Image)TestIcons.GetIcon("ShowDetails.ico").ToBitmap(); Live Life King Size Alomgir Miah

        D Offline
        D Offline
        Dsypher
        wrote on last edited by
        #3

        Alomgir Miah wrote:

        this.buttonTest.Image = (Image)TestIcons.GetIcon("ShowDetails.ico").ToBitmap();

        Is 'TestIcons' an ImageList?? There is no patch for ignorance

        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