what happens if you set the size and fill on creation, note donot use the setsize after.Code: Pascal [Select][+][-]Thumb := TBgraBitmap.Create(pnlImageContainer.width, pnlImageContainer.height,ColorToBGRA(clWhite,0));
just done a quick example.not sure if its what u afer though.edit: updated tpanel and tshape
Hello zxandris,I understand you're having difficulty in having a transparent background.Have you tried giving BGRAPixelTransparent as background color? That is the simplest way to specify a transparent color.Also note that when you paint it on the panel, the parameter Opaque is to be set to False in order to render with transparency.Regards
Ok, I am not sure I understand but I am glad it is solved.