{"id":5102,"date":"2014-03-30T18:48:07","date_gmt":"2014-03-30T18:48:07","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/why-are-my-transparent-images-used-in-a-delphi-2009-ribbon-not-transparent-on-runtime-collection-of-common-programming-errors\/"},"modified":"2014-03-30T18:48:07","modified_gmt":"2014-03-30T18:48:07","slug":"why-are-my-transparent-images-used-in-a-delphi-2009-ribbon-not-transparent-on-runtime-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/why-are-my-transparent-images-used-in-a-delphi-2009-ribbon-not-transparent-on-runtime-collection-of-common-programming-errors\/","title":{"rendered":"Why are my transparent images used in a Delphi 2009 Ribbon not transparent on runtime?-Collection of common programming errors"},"content":{"rendered":"<p>I just played around with the new Delphi 2009 ribbon, added a few pages, groups and actionclients (large buttons) to it. I created some transparent 32x32px PNGs in Photoshop and put them into a TImageList (set to cd32bit). I added this list to the Actionmanager&#8217;s Images property, to show them on the buttons. At designtime the icons in the ribbon look just fine, but when compiling and starting the app they have a black background. Any idea what causes this and how I can fix this? I do not want to create the images with the ribbon color as background, because I cannot switch to another colorset of the ribbon then.<\/p>\n<p>Thanks in advance Marc<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just played around with the new Delphi 2009 ribbon, added a few pages, groups and actionclients (large buttons) to it. I created some transparent 32x32px PNGs in Photoshop and put them into a TImageList (set to cd32bit). I added this list to the Actionmanager&#8217;s Images property, to show them on the buttons. At designtime [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5102","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5102"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5102\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}