Closed mirandaelfi closed 9 months ago
Could this be related to issue #10?
Yes; the problem is solved by using the pngImage library provided with JVCL. You need to enable the USE_PNGIMAGE define in ChromeTabsUtils.pas
You gave a solution, so this issue should be closed
I am using TChromeTabs by Paul Spencer Thornton on Delphi 7 and I have a problem that I cannot solve: when I want to display images in TChromeTab, they are displayed with poor graphics, with few colors.
However, the images are displayed correctly in the Object Inspector,
and if I open the TImageList component, the images are also displayed correctly here, even when the application is running.
Notice that the first time I opened the TImageList editor this hint message appeared and I answered Yes.
If in the same dialog box instead I answer No, the images appear like this (on a black background) .
The project is ChromeTabsDemoD7.dpr downloaded from the developer's site.
I couldn't find a solution to this problem anywhere online, and I don't know how to fix it, can anyone help me?
I did an alternative test with a new application, with a TPageControl and a TImageList: loading the TImageList with images and setting the ImageIndex property of a TTabSheet, the image appears drawn correctly on the tab.
Note: Delphi 7 with CnPack.