Imagelist and Toolbar

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!

I used a toolbar with an imagelist. I can see images on toolbar buttons in
design view, but not during runtime. Does anybody know why and what needs to
be done? Any help will be greatly appreciated!

Thanks,
Jeannette
 
Jeannette,

Assuming you are using not version 2005, did you add the images first to an
imagelist?

Cor
 
Cor,

I use version 2003. I created an imagelist and added images using Image
Collection Editor. Then, I created a toolbar and set its imagelist property
to the imagelist control that I created at the beginning. Then, I created
toolbarbuttons using ToolBarButton Collection Editor and set their imageindex
property to those images that were added to the imagelist control.

I tried using different image files (such as .ico, .gif and .bmp), but I
could not see those images at runtime. Do you know why and how to fix that?
Thank you very much in advance!

Jeannette
 
Back
Top