A button control and underlying replacement for TBitmap that properly handles PNG transparency without writing pre-blend code

前端 未结 3 1509
长情又很酷
长情又很酷 2021-02-05 11:21

Delphi 2010\'s TSpeedButtons did not seem to really support PNG transparency properly, because the Glyph property uses a TBitmap internally, and TBitmap is for bitmaps, and doe

相关标签:
3条回答
  • 2021-02-05 11:37

    You may have a look at PngComponents. It has a TPngSpeedbutton and some other controls working directly with PngImages.

    0 讨论(0)
  • 2021-02-05 11:41

    It turns out that cxButton that comes in the Developer Express VCL component pack also supports PNG buttons.

    0 讨论(0)
  • 2021-02-05 11:48

    You could also look into the TMS Software Component called TAdvGlowButton as this supports PNG images with alpha transparency.

    Link to site...

    0 讨论(0)
提交回复
热议问题