Problem with transparency when using TRzBMPButton

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #35465
    Albert
    Participant

    Problem with transparency when using TRzBMPButton. Transparency (area around main image in BMPs usually (and in my case) drawn using clFuchsia color) does not work even though Bitmaps.TransparentColor property was set to clFuchsia, and added TRzBMPButton component to the ThirdParty List and so on. When skinning is off all works Ok.

    #49409
    Support
    Keymaster

    Maybe you know, this control is inherited from standard Button control?

    This control have a Handle?

    #49412
    Albert
    Participant
    'Support' wrote:

    Maybe you know, this control is inherited from standard Button control?

    This control have a Handle?

    No, it is inherited from TWinControl -> TCustomControl and has a Handle. Its Bitmap.Transparency property is set (by me) to flFuchsia, but transparency does not work… As showed at the first attachement the area around the red circle is lightgray but should be the same color as its owner control (blue). The second attachement shows the TRzBMPButton when skinning is OFF.

    #49417
    Support
    Keymaster

    I have installed Raize controls now and understand a problem.

    You can't add this control as 'Button' to the ThirdParty list because it's not a standard button (behaviour and properties are not standard).

    I'll check why background is not transparent, but I can't guarantee that issue will be solved.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.