Hello,
Buttons on the TAdvQuickAccessToolBar are normally TAdvGlowButton and the image for TAdvGlowButton is either assigned with an imagelist image (AdvGlowButton.Images / AdvGlowButton.ImageIndex) or via its AdvGlowButton.Picture property.
Hello Bruno,
I retested this here with the latest version with the wizard created app and a disabled action with PNG from imagelist assigned to the TAdvGlowButton on the TAdvQuickAccesToolBar, but could not see an issue.
Hello Bruno,
I tried to use a PngImageList instead of the default ImageList to load my PNG images, the disabled icon is now displayed ok but the transparency is gone, is it true that it looks at the left lowest pixel of the image for the transparent color?
Make sure to set ColorDepth = cd32bit in TImageList, DrawingStyle = dsTransparent and Masked = false.
Bruno,
The issue with transparency must be something in the image itself you use. I assigned a PNG here and didn't see such problem. Test project:
Great!!!! I will try to figure out what is going on with my PNG although when I imported it in TImageList it was drawn correctly (with a grey background in transparent areas"