Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

PNG image support in TAdvToolBarPager tabs

 Post Reply Post Reply
Author
Luis Concepcion Gonzalez View Drop Down
New Member
New Member
Avatar

Joined: 28 Oct 2015
Posts: 31
Post Options Post Options   Quote Luis Concepcion Gonzalez Quote  Post ReplyReply Direct Link To This Post Topic: PNG image support in TAdvToolBarPager tabs
    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!


Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 7958
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Luis Concepcion Gonzalez View Drop Down
New Member
New Member
Avatar

Joined: 28 Oct 2015
Posts: 31
Post Options Post Options   Quote Luis Concepcion Gonzalez Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 7958
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 07 Dec 2016 at 2:38pm
Did you try to set ImageList.ColorDepth = cd32bit?
Back to Top
Luis Concepcion Gonzalez View Drop Down
New Member
New Member
Avatar

Joined: 28 Oct 2015
Posts: 31
Post Options Post Options   Quote Luis Concepcion Gonzalez Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down