icons on command buttons

Hello! Can anyone please explain to me how can I assign icons to command buttons, in order to make them look more intuitive



Answer this question

icons on command buttons

  • Bart Elia

    Set the Image property, it gives you more options...


  • Somu Thomas

    you can perhaps create a custom control to do this, or do this:

    select the button

    in the properties of the button, look for "BackgroundImage" property.

    Select the background image and you should see the image

    thread moved to the appropriate forum



  • Arran Derbyshire

    Thanks!
  • Apocarm

    When you want to use an Icon as an Image, you create a new instance of the Icon object, passing the path to the icon as an argument, and then call the ToBitmap() method of the Icon to get an image.

    eg.

    Dim ico As New Icon("c:\test.ico")
    CommandButton1.Image = ico.ToBitmap

    HTH



  • icons on command buttons