How to make alpha transparent TImage in Delphi?

前端 未结 2 1545
别那么骄傲
别那么骄傲 2021-01-01 05:38

On the Form I have two TImages. TImage which is on the top should be transparent, so we can see what is underneath. How to change the level of TImage transparency?

E

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-01 06:00

    TImage itself (and any other UI control, for that matter) cannot be alpha blended on top of other controls. However, you can display an alpha blended GIF image inside of a TImage using the TGIFImage class.

提交回复
热议问题