On 8/18/2012 12:50 PM, Chuck Belanger wrote:
Still having black background icons come out as black and not
transparent at runtime.
Any property setting that would do this? It has got to be something
simple!
Ok, at least I know what is causing this problem, but it looks like I
will be posting to the CnPack forum. CnPack is an Delphi IDE enhancement
package.
In the upgrading of the D2007 program, one TImageList set of images
(135) got mangled. CnPack has a very neat GUI for the image list that
allows one to directly search the internet for public domain icons that
one can then directly add to the imagelist.
The only way to show transparency for this particular imagelist was to
use the "Use XP Style..." checkbox, but like I said that only works in
design time. At run time, the black background shows up. I did manage to
export the 135 images which in the process converted the background from
black to white which, although still not transparent, is much easier on
the eye than black.
For any readers, use of the XP Style causes other image lists to have a
black background, but for these other lists, they were transparent (at
run time) without the XP Style.
Chuck
_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi