CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: toolbar icon

  1. #1
    Join Date
    Feb 2000
    Posts
    440

    toolbar icon

    Hi,

    I succeeded in adding new button to Visual Basic
    toolbar, howerver I cannot figure out how to add an icon to the button. Can you help?

    Thanks in advance!

    Valery Iskarov Nikolov
    http://listen.to/quark

  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: toolbar icon

    You need an imagelist control filled with images
    then bound ut to toolbar (property listimage of toolbar)
    then you can assign the image to buttons



    Special thanks to Lothar "the Great" Haensler, Tom Archer, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  3. #3
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: toolbar icon

    Whoops... Was it VB toolbar? Via right clicking on a toolbar?
    Then, while customizing, after have dragged the command on the toolbar, right click on it...

    Special thanks to Lothar "the Great" Haensler, Tom Archer, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  4. #4
    Join Date
    Feb 2000
    Posts
    440

    Re: toolbar icon

    Thanks!

    Valery Iskarov Nikolov
    http://listen.to/quark

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured