I am having a problem with a TImageList component, and I hope someone can
The problem is, when I draw an image from the TImageList onto a paintbox, it
comes up in reduced resolution (16 color, I think).
The image is in 16bpp and the application is running in 16bpp or higher. I
can load the same image straight onto the same form using a TImage and it
comes up fine. Unfortunately, I need to load it from an ImageList.
Settings for the TImageList:
The image is loaded as such:
It is drawn to the paintbox as such:
ComponentImageList->Draw(ComponentPaintBox->Canvas, 5,10+80*i, i);
I have no idea why this isn't working. I've tried everything I can think of.
Various combinations of BKColor, BlendColor, DrawingStyle, and Masked
settings (it shouldn't need a mask, the image is square, but I tried them
anyway). Also played with the last parameter of the FileLoad() call. I
even tried messing around with the PaintBox-> Canvas->CopyMode settings. All
to no avail, the image comes up exactly the same every time.
I've already checked Deja news. You guys are my last hope. HELP! I'm
pulling out hair at an alarming rate.
Manifest Destiny - The Race for World Domination
Demo now available!