Blank Toolbar Button Images

J-Man
07-19-2003, 11:07 AM
I originally had the "built-in" VB6 imagelist and toolbar working properly...that is, the buttons showed up with the images on the buttons. However, I added images to the imagelist, and now the buttons no longer have images on them. What's the deal? How do I get the images back? Thanks in advance!!

akrocks
07-19-2003, 03:28 PM
i've had the same problem before.. i have no idea what happend.. so now i just put the images in the image list and load them into tool bars and stuff by code..

J-Man
07-19-2003, 03:50 PM
I found my issue!!! You have to make sure to set the "Image" field with the appropriate image index.

To be able to add images to the imagelist, you have to "unlink" it from the toolbar. Then, when the images have been inserted into the imagelist, you have to "re-link" it to the toolbar. This resets the "Image" field to zero (0). You have to go through and set reset these accordingly.

Hope this helps!

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum