Print Page | Close Window

PNG image support in TAdvToolBarPager tabs

Printed From: TMS Software
Category: General
Forum Name: Feature Requests
Forum Discription:
URL: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=7270
Printed Date: 26 May 2020 at 8:03pm


Topic: PNG image support in TAdvToolBarPager tabs
Posted By: Luis Concepcion Gonzalez
Subject: PNG image support in TAdvToolBarPager tabs
Date Posted: 07 Dec 2016 at 1:47pm
Hi!

Is it posible to add PNG image Support for TAdvToolBarPager tab images?
Currently it is posible to use bmp images (using an ImageList), but result quality is not as good as to AdvOfficePager tabs images, buttons, etc.


Thanks!





Replies:
Posted By: Bruno Fierens
Date Posted: 07 Dec 2016 at 2:25pm
What Delphi version do you use? In newer Delphi versions, you can also use PNG images with imagelists.


Posted By: Luis Concepcion Gonzalez
Date Posted: 07 Dec 2016 at 2:37pm
Hi!

I'm using Delphi Seattle. I have tried to add PNG images to ImageList, and the appear in the Tabs, but transparent part of the image appears as black.
Also tried to change BkColor, BlendColor, in ImageList with no success.


Posted By: Bruno Fierens
Date Posted: 07 Dec 2016 at 2:38pm
Did you try to set ImageList.ColorDepth = cd32bit?


Posted By: Luis Concepcion Gonzalez
Date Posted: 07 Dec 2016 at 5:28pm
OMG, you are right. I tried that, but I had to delete and re-add the images to make effect.

Thanks!



Print Page | Close Window