[Lazarus] csOpaque seems to be broken in 0.9.29

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Dec 22 16:00:24 CET 2009


Hans-Peter Diettrich wrote:
> 
> 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,

It was the quickest way to test if my component was truly transparent. I
didn't want to use a solid color because the child could easily use the
Parent.Color to paint it's own background.


> or 
> to use a background image.

TForm doesn't have a BackgroundImage or Image or Picture property. Though
that would be truly useful.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/





More information about the Lazarus mailing list