Trouble with Icons

Add-in Express™ Support Service
That's what is more important than anything else

Trouble with Icons
Transparent pixels turn blue 
Jeremy P




Posts: 13
Joined: 2007-01-30
I'm using ADX 2.8, office 2003, windows xp, and .net 2005

I'm trying to add a custom icon to my ADXCommandBarButton. It works except fro the fact that the pixels that are supposed to be transparent are showing as blue.

I'm using an image list to store a 32bit 16px x 16px png.

I also tried using a non-transparent picture and setting the ImageTransparentColor in code

Is there a certain way to add a smooth transparency to an icon? Everything I've tried isn't working.

Thanks in advance,
JP
Posted 02 Feb, 2007 15:04:31 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Jeremy.

You need to do the following:
1. Remove all images from the image list.
2. Set the TransparentColor property of the image list to the default value.
3. Add images again.
4. Now you should use the ImageTransparentColor property of the ADXCommandBarButton component to set the transparent color.


P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 04 Feb, 2007 20:06:46 Top