[Lazarus] csOpaque seems to be broken in 0.9.29

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Dec 22 15:36:36 CET 2009


Graeme Geldenhuys schrieb:

> I am painting a tiled image directly on the Canvas of TForm1, so I should
> be able to see the background image thru my custom container, but I can't.

You may have to exclude ClipChildren when painting. The result can be 
somewhat inpredictable, when you mix direct paints with components 
painting themselves. I'd suggest to draw the background in WM_ERASE, or 
to use a background image.

DoDi





More information about the Lazarus mailing list