Adina Shel
Posts: 16
Joined: 2008-05-05
|
Hello!!
In My project I added ADXCommandBarButton ,
when I add Image into ADXCommandBarButton , the image Looked with sealed color
for border and Not Trancparent color
I want to know how can to do than the border's image is Transparent?
Thanks!!
Adina
|
|
Andrei Smolin
Add-in Express team
Posts: 18825
Joined: 2006-05-11
|
Hello Adina,
Below is an excerpt from the manual:
Transparent Icon on a CommandBarButton
It looks like the ImageList has a bug: when you add images and then set the TransparentColor property, it corrupts the images in some way. Follow the steps below (at design-time) to get your images transparent:
?Â?Ð?? Make sure the ImageList doesn't contain any images;
?Â?Ð?? Set its TransparentColor property to Transparent;
?Â?Ð?? Add images to the ImageList;
?Â?Ð?? Choose an image in the Image property of your command bar button;
?Â?Ð?? Specify the transparent color in the ImageTransparentColor property of the command bar button;
?Â?Ð?? Rebuild the project.
Andrei Smolin
Add-in Express Team Leader
|
|