I would like to make a square button with an icon above the text.
I started with AdvSmoothButton and was able to add an image series through the ImageList object.
The problem is that I can't get the space around the icon to display as transparent. Can anyone give me some pointers on how to achieve this? (I have tried using files with a transparent Alpha Channel such as PNG and GIF and also the method where you give the icon a specific bg colour that you then assign to transparency using the image list editor.
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.
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.
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?