Hi
I am porting an application from delphi to lazarus. For the splash screen, there is an image which is set as transparent on the form.
In the form designer it correctly shows as transparent, but when compiled and run it shows with an olive background instead of transparent. I have tried to set the following properties in the FormCreate method
image.Picture.Bitmap.MaskHandle:=0;
Image.Picture.Bitmap.Transparent := True;
Image.Picture.Bitmap.TransparentColor := clOlive;
but this does not work.
Any suggestions?
Thanks
Tim
PS I don't have delphi available; The app is proprietary closed source.
Addition
Looking into it further, the TImage itself is not used directly but is used as the bitmap for the brush in a TShape. So the question now is : does the brush in a TShape support transparency? I have looked in the documentation and can't find the answer.
Tim