In my Delphi XE3 Application I've placed a TPageControl component into the MainForm.
I linked its "Images" property to a ImageList which contains some PNG images.
At design time when I set the "Image Index" properties of each TTabSheet the images are correctly represented. Otherwise, when I run the application I see that all the images contained in the TTabSheet (which should be without background) are surrounded by a black squared area.
I check the settings of my ImageList and I see that:
- -BkColor: clNone
- -BlendColor: clNone
- -ColorDepth: cd32bit
- -DrawingStyle: dsTransparent
- -ImageType: itImage
- -Masked: False
I don't know whether it will be relevant to the problem but I note that changing the settings of the Project and enabling the voice "Enable runtime theme" this problem is solved.
Thanks.