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/ -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
