* * *

Author Topic: ListView / ImageList transparency problem (I don't want transparency)  (Read 500 times)

zex2011

  • New member
  • *
  • Posts: 10
I'm using TListView to display some thumbnails. The thumbnails are normal 128x128 jpg and png images, 24-bit true color. They are hosted in a TImageList.

The problem is that I cannot turn off transparency. Whichever pixel is in lower-left corner of the thumbnail will become transparent in ListView. When I open the editor of ImageList, the transparency boxes are disabled and there's now way of switching off this ugly "feature".

Does anyone know how to make ListView show images normally, without holes? The thumbnails are all 24-bit. Yeah, I tried with 32-bit as well, no change.

zex2011

  • New member
  • *
  • Posts: 10
Re: ListView / ImageList transparency problem (I don't want transparency)
« Reply #1 on: February 04, 2012, 03:46:56 pm »
So, nobody has a clue how to solve this? Not even devs?

BigChimp

  • Hero Member
  • *****
  • Posts: 1012
    • CheckRide remote control and other open source projects
Re: ListView / ImageList transparency problem (I don't want transparency)
« Reply #2 on: February 04, 2012, 06:25:11 pm »
Not everybody responds immediately  :) Not knowing anything about image handling in Lazarus, I'm sorry I can't help you...

If you don't get a reply here, you can try the Lazarus mailing list.

Also, I assume you've searched the wiki and this forum without results...

Finally, it helps if you specify what Lazarus version and what operating system you're using.

Good luck,
BigChimp
CheckRide remote control and other open source projects:
https://bitbucket.org/reiniero/

User137

  • Hero Member
  • *****
  • Posts: 503
Re: ListView / ImageList transparency problem (I don't want transparency)
« Reply #3 on: February 04, 2012, 10:16:22 pm »
As "ugly" fix you can always put some unused pixel in lower corner, maybe light purple is least used.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads