Mega Search
23.2 Million


Sign Up

Make a donation  
Show a .PNG with transparency in a TImage?  
News Group: embarcadero.public.delphi.firemonkey

I want to display a PNG with transparency on a Firemonkey form. (Delphi XE7 OSX)

I drop a TImage on the form but I cannot find a way to have it load the contents of the PNG at design time.

I drop a TImageControl on the form, add the PNG bitmap, but it shows up in a black frame with white background where I want it to be transparent.

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 20-Jan-2015, at 2:27 PM EST
From: Michael Leahy
 
Re: Show a .PNG with transparency in a TImage?  
News Group: embarcadero.public.delphi.firemonkey
El 20/01/2015 a las 23:27, Michael Leahy escribió:
> I want to display a PNG with transparency on a Firemonkey form. (Delphi XE7 OSX)
>
> I drop a TImage on the form but I cannot find a way to have it load the contents of the PNG at design time.
>

Use the MultiResBitmap property

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 20-Jan-2015, at 2:39 PM EST
From: Antonio Estevez