TBitBtn - Transparency on glyph does not work
Original Reporter info from Mantis: marcgeldon
-
Reporter name: Marc Geldon
Original Reporter info from Mantis: marcgeldon
- Reporter name: Marc Geldon
Description:
It is not possible to make a glyph on a TBitBtn transparent.
Steps to reproduce:
put a TBitBtn on a form. Execute the following code in an event (OnClick on the button or FormCreate):
btnTest.Glyph.TransparentColor := clFuchsia;
btnTest.Glyph.Transparent := True;
btnTest.Glyph.LoadFromFile('test.bmp');
Transparency seems not to work. Also if I change the transparency properties after loading the file.
Additional information:
As an attachment, you'll receive a glyph to test.
Mantis conversion info:
- Mantis ID: 1211
- OS: Windows XP Home
- OS Build: 5.1
- Build: 19.07.2005
- Version: 0.9.8
- Fixed in version: 0.9.11 (SVN)
- Fixed in revision: 7968 (#96bcfffa)
- Monitored by: » sekelsenmat (Felipe Monteiro de Carvalho)
- Target version: 0.9.12