Click to See Complete Forum and Search --> : toolbar icon


vin
May 4th, 2001, 02:19 AM
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

Cimperiali
May 4th, 2001, 04:07 AM
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.

Cimperiali
May 4th, 2001, 05:19 AM
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.

vin
May 8th, 2001, 06:56 AM
Thanks!

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