Repaintmode:=rmOptimizer in TImgView32 lazarus / 39-Graphics ---------------------------------------------------------------------- Flemming · 2012-09-24 10:43 Using the Graphics32 library, I'm trying to set Repaintmode to rmOptimizer for a TImgView32 with a Changed(Rect) call to the TBitmapLayer. I need to be able to draw on the Bitmaplayer with the mouse, so it's necessary to get a fast realtime update on the canvas. But it seems that the bitmap-buffer is influenced by the form's update(buffer), so that updated components on the form shows up in the ImgView. How can i prevent that from happening ?  I have tried to set DoubleBuffered to false, but it didn't help. ---------------------------------------------------------------------- Flemming · 2012-10-04 14:30 Finally i found a solution  ! Just have to make a ImgView.ForceFullInvalidate on the TImgView32 after OnMouseUp event. Not sure that it's the best solution, but it solved my problem.