Thema: Delphi Bitmap und Transparent

Einzelnen Beitrag anzeigen

Benutzerbild von ATS3788
ATS3788

Registriert seit: 18. Mär 2004
Ort: Kriftel
646 Beiträge
 
Delphi XE Starter
 
#1

Bitmap und Transparent

  Alt 3. Jan 2012, 17:05
Delphi-Quellcode:
      
      Image.Picture.Bitmap.Assign( EineBitmap );
      Image.Picture.Bitmap.TransparentColor := Canvas.Pixels[1,1]; // Weiss ich brauche ich nicht
      Image.Picture.Bitmap.Transparent := true;
      Image.Picture.Bitmap.TransparentMode := tmFixed;
      Image.Transparent := true;
Hallo und frohes neues Jahr
ich sehe den Wald vor lauter Bäumen nicht.

Da sollte doch die Bitmap im TImage transparent sein, welche
die Farbe am Punkt 1 ,1 hat. Ist sie aber nicht.

Martin Michael
Martin MIchael
  Mit Zitat antworten Zitat