[Lazarus] Clear font backgrounds

Martin Friebe lazarus at mfriebe.de
Mon Apr 13 14:28:44 CEST 2009


Dave Coventry wrote:
> Hi,
>
> I'm using Image1.Convas.TextOut and I need the font background to be clear.
>
> Does anyone know how to achieve this?
>   
uses LCLType, LCLIntf;

  SetBkMode(Image1.Canvas.Handle,  TRANSPARENT);

You may have to use  LCLIntf.ExtTextOut()

Best Regards
Martin




More information about the Lazarus mailing list