[DUG] TImage/ImageList/Transparent/XP Manifest

Alister Christie alister at salespartner.co.nz
Fri Feb 26 10:24:09 NZDT 2010


I've used pngs for this and a TPNGImageList - although I think these 
components have been discontinued.

Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington 



John Bird wrote:
> I solved the problem in this case by a work-around I should not have to do, 
> but its the easiest way to get it to work:
>
> Instead of using a TImageList with 5 BMPs loaded, I used 5 Timage's, each 
> loaded with the correct transparent BMP, and according to which I want make 
> the relevant one visible and all the others invisible.  All have the same 
> size and position on the form.
>
> Its something in the assigning of the BMP from the Timagelist to the TImage 
> that ruins the transparent border on the image.   If someone has any ideas I 
> would like to hear - can live with this here but not keen to repeat it in 
> other programs.
>
> John 
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
>
>   


More information about the Delphi mailing list