i recently got my hands on Delphi 10.2 Tokyo and started to migrate a project made with Delphi XE4. While my application works as before, i have a strange problem with the images saved in a TImageList. This image list is connected to a TCategoryButtons group. The image list holds 16x16px transparent PNG files. The goal of showing the images transparent in the panel works during design time, but not during runtime any more. During runtime, black appears where the image was transparent before.
The TImageList has these settings:
BkColor=clNone, BlendColor=clNone, ColorDepth=32bit, DrawingStyle=dsTransparent
The application uses themes
What i tried:
- Cleaning and rebuilding the whole project
- making changes to the image list contents (added/removed images)
- tried different settings in the image list
- Made a new project, added TCategoryPanel and TImageList, loaded the same images and settings, added a theme -> This works O.O
Did someone had these effects before and knows how to resolve them? Why does this work while in design time, but not in runtime?