Button transparency

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

Button transparency
 
Joe Major




Posts: 5
Joined: 2005-12-12
Hello again Sergey et all.

I like the new web site.

I have recently upgraded to VS2005 and had to rebuild my Addin. I now have a problem in that all my toolbar buttons have lost their transparency settings and whatever I do I cannot get them to be transparent. I have tried adding new icons with different colour transparencies, transparent icons but all with the same result.

Are you aware of any issues with upgrading like this?

Thanks in advance.

Regards.

Joe
Posted 13 Mar, 2006 05:30:48 Top
Sergey Grischenko


Add-in Express team


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

You just need to set the ImageTransparentColor property of the ADXCommandBarButton component to the background color of your images.
You shouldn't change the Transparent property of the ImageList component.
Posted 13 Mar, 2006 08:33:56 Top
Joe Major




Posts: 5
Joined: 2005-12-12
Sergey.

I haven't changed any code since the original working version but as mentioned have upgraded to VS2005. Could something have changed with the ImageList?

Joe
Posted 13 Mar, 2006 08:42:32 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Joe, you can download the XL Toys for VS 2005 example.
It displays all icons correctly. I think it will help you to solve the issue. http://www.add-in-express.com/projects/xltoys-cs-2005.zip
Posted 13 Mar, 2006 08:50:47 Top
Joe Major




Posts: 5
Joined: 2005-12-12
Sergey.

It was the colour depth for the ImageList. It had changed to 32Bits.

Thanks again.

Joe
Posted 13 Mar, 2006 09:03:46 Top