TsSpeedButton not transparent ?!?!?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34894
    ralfiii
    Participant

    Hello!

    I need to add Eye-candy to an application.

    So I placed a TsSpeedButton (with SkinSection Speedbutton_Small) on an Image.

    BUT: The TsSpeedButton is not transparent?!? See the attached image, Top=TsSpeedButton, Bottom=TSpeedButton, Left IDE, Right at runtime).

    The TsSpeedButton shows the background of the form but at the same time it “erases” the content of the Image that it covers.

    The normal TSpeedButton – without skinning – is transparent when you set Flat=True.

    Is there any trick to get the speedbutton really transparent?

    Thanks,

    Ralf

    #47206
    Support
    Keymaster

    Hello

    SpeedButton placed on Image can't be transpared because a caching system used in AlphaControls (for increasing of drawing speed).

    I can suggest you to draw this image in the Form.OnPaint event, it's not difficult, but better than TImage component using.

    #47213
    ralfiii
    Participant

    Thanks, that works perfectly!

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