<div dir="ltr">I'm somewhat late to the party here, but to preserve 32-bit transparency when retrieving from a TImageList, you can first get the image as an icon, then assign it to a bitmap. In the past I've had problems pulling the image out as a bitmap directly.</div><br><div class="gmail_quote"><div dir="ltr">On Sat, Oct 31, 2015 at 3:58 PM Ross Levis <<a href="mailto:ross@stationplaylist.com">ross@stationplaylist.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-NZ" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:#1f497d">I realize that and rely on that but it’s not working. Although the coloured background is being replaced with a white background when it’s displayed, so some transparency is happening somewhere.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:delphi-bounces@listserver.123.net.nz" target="_blank">delphi-bounces@listserver.123.net.nz</a> [mailto:<a href="mailto:delphi-bounces@listserver.123.net.nz" target="_blank">delphi-bounces@listserver.123.net.nz</a>] <b>On Behalf Of </b>Graham Marsden<br><b>Sent:</b> Saturday, 31 October 2015 1:40 p.m.<br><b>To:</b> <a href="mailto:delphi@listserver.123.net.nz" target="_blank">delphi@listserver.123.net.nz</a><br><b>Subject:</b> [DUG] Glyph Transprency<u></u><u></u></span></p></div></div></div><div lang="EN-NZ" link="blue" vlink="purple"><div><p class="MsoNormal"><u></u> <u></u></p><div><div><div><div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Hi Ross<u></u><u></u></p></div><p class="MsoNormal">There is another factor that determines transparency of a glyph on a speedbutton and other places.<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">The colour of the bottom left hand corner pixel is taken as the transparency colour. ie the pixels omitted from the glyph to make it transparent.<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">Here is a link that might help. ... <a href="http://delphi.cjcsoft.net/viewthread.php?tid=262" target="_blank">http://delphi.cjcsoft.net/viewthread.php?tid=262</a><u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">Hope this helps<u></u><u></u></p></div><p class="MsoNormal">Graham Marsden<u></u><u></u></p><div><div><p class="MsoNormal"><br> <u></u><u></u></p></div></div></div></div></div>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@listserver.123.net.nz" target="_blank">delphi@listserver.123.net.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" rel="noreferrer" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@listserver.123.net.nz" target="_blank">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe</blockquote></div>