ToolBar Icons problem

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

Guest

Hi,
I created a toolbar, added button and Icons from an ImageList.
The icons are transparent for disable mode.

The problem is that the icons does not look good, a blue outlet is added to
the icon.

If the image is not transparent everything looks good, but of-course, when
the buttons are disabled, the icons all gray.

I tired bmp, jpg, png, gif
I tried seveal icons sizes : 16x16, 17x18, 25x25

Any Ideas ?

Thanks in advance.
 
As well as the picture, you must set the mask property as well. The mask is
a picture in black and white where white denotes the transparent areas and
black the non-transparent areas.

/Mats-Lennart
 
If I understand you I've done that, didn't work.
My images are masked as you suggested.

( I have only one set of images, If you mean that I need another set of
images for disable mode, please detail how do I do that)

Thanks for your response.
 
Hi Udir,
I had faced the same problem earlier and the solution to remove
the BLUE border of the images is
make the Toolbar button size same as the Image size
i.e
if ur image is of 16 X 16 then the toolbar button size should be 16X16
This will work just try it.

Regards,
Pramod
 
Thank You Very Much !!!!!!!!!!!!!!

Pramod said:
Hi Udir,
I had faced the same problem earlier and the solution to remove
the BLUE border of the images is
make the Toolbar button size same as the Image size
i.e
if ur image is of 16 X 16 then the toolbar button size should be 16X16
This will work just try it.

Regards,
Pramod
 
Back
Top