bad transparency with rzbmpbutton
Posted: Wed Sep 14, 2011 8:29 am
I'm using RzBmpButtons, with various bitmaps assigned.
Button.Bitmaps.TransparentColor is set to clWhite. Button.Color is set to Blue, although it shouldn't matter. White is around the edges of the images, which when masked, gives them a rounded look.
The problem is that the transparency is not transparent. Instead, the white is replaced with black. Ideally it wouldn't be painted at all. If it was replaced with Blue, at least it would work on my solid background. See image below.
Button.Bitmaps.TransparentColor is set to clWhite. Button.Color is set to Blue, although it shouldn't matter. White is around the edges of the images, which when masked, gives them a rounded look.
The problem is that the transparency is not transparent. Instead, the white is replaced with black. Ideally it wouldn't be painted at all. If it was replaced with Blue, at least it would work on my solid background. See image below.