
Problems with toolbar object
Assuming that you're trying to use a standard toolbar... you have to add
an Image List control to your form. Add whatever images you will need to
that. Make sure that you note the index of the image(s) that you want to
use for the button. Now right click the toolbar and select "Properties".
In the appropriate drop down on the "General" tab select the image list
that you added. Now, on the "Buttons" tab you have to fill in the index
of the image for the button in the image field. Pretty intuitive, huh?
:-)
If you want to have separate images for the disabled button, etc. then
I'm guessing that you need to create multiple image lists since the
button tab only has one place to enter an image index.
HTH,
-Tom.
Quote:
> I'm working with VB 6 Professional
> I would like to know, how can i insert a icon/image in a toolbar
button?
> Thanks
> Pedro Floro
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---