TForm: How to get background fixed while scrolling? lazarus / 31-LCL ---------------------------------------------------------------------- HiRome · 2016-09-27 16:17 Hello! I've just upgraded my Lazarus from 1.2.6 to 1.6. So I got the fixed background of the my project's form moving while I perform scrolling (AutoScroll:=True). Although it worked fine on the previous version (1.2.6). I implemented the background in PaintWindow procedure. After the issue I tried implement it in EraseBackground but it was no use - the same effect  So I investigated WMPaint at various levels and came to the conclusion that it's not a good way at all.. I only found out that the gtk2 widget performs redraw the background after PaintWindow and EraseBackground. So I got stuck..