Doug,

Canvas.Brush.Style:=bsClear;

The Windows API way to do this is:
SetBkMode(hdc, TRANSPARENT);

Glenn Lawler
www.incodesystems.com

-----Original Message-----
From: advanced_delphi@yahoogroups.com
[mailto:advanced_del...@yahoogroups.com] On Behalf Of black68cougar
Sent: Monday, August 30, 2010 10:47 AM
To: advanced_delphi@yahoogroups.com
Subject: [advanced_delphi] Transparent Color

I am writing text on a canvas with Canvas.TextOut.
Is there a color Value I can set Canvas.Brush.Color which will provide a
transparent background showing what is already on the canvas as the
background to the text being written?

Thanks,
Doug


Reply via email to