Page 1 of 1

bad transparency with rzbmpbutton

Posted: Wed Sep 14, 2011 8:29 am
by rosstrusler
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.
Welcome_Screen.png
Welcome_Screen.png (74.46 KiB) Viewed 3473 times

Re: bad transparency with rzbmpbutton

Posted: Wed Sep 14, 2011 12:27 pm
by giaviv
Hi,

I am afraid that this is a Windows Forms behavior and there is little that we can do about that. I apologize for the inconvenience.