Autor Beitrag
delphijanka
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151

WinXP
D 2009 Arc., Java, C
BeitragVerfasst: Mi 05.08.09 16:00 
Hallo.

Wenn ich bei einer Image folgendes mache:
ausblenden Delphi-Quelltext
1:
2:
3:
Btm: TBitMap;
...
Image.Canvas.Draw(0, 0, Btm);

dann wird die Grafik zwar angezeigt, jedoch nicht transparent.

Image.Transparent := true hilft nicht (ich glaube, Transparent gilt hier nur für Picture, wo ich dann die Transparentfarbe mit Picture.Bitmap.TransparentColor setzen kann).

Wie kann ich hier die Transparenz trotzdem aktivieren?

Danke euch.

Moderiert von user profile iconNarses: Delphi-Tags hinzugefügt
DeddyH
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 05.08.09 16:04 
Und bei
ausblenden Delphi-Quelltext
1:
Image.Picture.Assign(Btm);					

?
delphijanka Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151

WinXP
D 2009 Arc., Java, C
BeitragVerfasst: Mi 05.08.09 16:07 
@DeddyH

Boah, Vielen Dank dir!