JP_dev
JP_dev

Reputation: 95

Problems with Imagelist after migration

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.

enter image description here

What i tried:

Did someone had these effects before and knows how to resolve them? Why does this work while in design time, but not in runtime?

Upvotes: 3

Views: 405

Answers (1)

JP_dev
JP_dev

Reputation: 95

I solved my problems by analyzing the differences between a freshly created project file and my existing. I recreated the .dproj file by deleting it and then reapplied my old changes manually per Project - Options. This fixed my problems with the images.

Upvotes: 1

Related Questions