Hi there
It seems that you are not using a correct PNG image. I suggest you use an image editing software to remove the background and replace it with a transparent background and save the image as a PNG. Paint.Net is a good tool to achieve this.
Hi Pieter, thanks for the reply.
The button internally assigns the image bitmap to a TAdvGDIPPicture for drawing. the TAdvGDIPPicture creates a transparent image if the bitmap contains transparency data such as the color / alpha channel. This is no real png image approach as the imagelist only returns bitmaps even though you have added a PNG. I suggest you use a TGDIPPictureContainer as this also supports multiple image formats including PNG files and the GDIPPictureContainer directly uses the PNG data for drawing.
Pieter Scheldeman2013-03-19 12:02:28
Please excuse my ignorance, but how do you assign a TGDIPPIctureContainer to a button's image?
Hi,
Thank you. I see the property now. I noticed there is nothing similar for the AdvGlowButon nor the DBadvGlowButton. How would I accomplish the same thing?