Hi,
I'm trying to load transparent PNG into a TImageList, assign that to an AdvGlowButton using the ImageIndex property.
It appears TImageList does not support transparent PNG properly. It will load a PNG but appears to convert it to a bitmask and bitmap and does not preserve the transparency properly.
I can use the Picture property of the AdvGlowButton to load the PNG and it will render it properly but I have 900+ forms in my app and I want all buttons point back to a single TImageList image repository referenced by the ImageIndex so I only have to update the image once. I don't want to go through all these forms and manually load the PNG into each button as this creates a maintenance nightmare.
Is there any conceivable way of achieving this with AdvGlowButton?
Is there a simple way to extend AdvGlowButton to support say a TGDIPictureContainer with a PictureName, HotPictureName and DisabledPictureName or is there another better suited button I can use on AdvToolBar?
Regards
Adam