>I am drawing some text on to a canvas with the brush style set to clear. >But when I draw some more text, it still has the old text there and its >all jumbled up.
There is probably a much easier way but as the problem is 'unwriting' what you wote, how about 1. writing to a separate canvas and then XORing the text in and XORing it back out again or perhaps 2. just keeping a copy of the piece of the canvas before the text was written or 3. if you know you haven't got a collision problem unwrite the text with the background colour. --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/