Lazarus

Programming => LCL => Topic started by: teriyaki on October 16, 2021, 03:55:00 pm

Title: not satisfied behaviour of lcl
Post by: teriyaki on October 16, 2021, 03:55:00 pm
I set form as image, but if I move splitter, it will show as
Title: Re: not satisfied behaviour of lcl
Post by: teriyaki on October 16, 2021, 03:56:02 pm
actual display.

I am not sure if there is anything I made mistake.

Is there any switch that I can turn on double buffer function?
Title: Re: not satisfied behaviour of lcl
Post by: jamie on October 16, 2021, 06:59:16 pm
Looks like you don't have the other side anchored to the splitter so that it will move left.
Title: Re: not satisfied behaviour of lcl
Post by: wp on October 16, 2021, 07:31:20 pm
Such drawing artefactos have came with Windows 10. In such cases, I change the ResizeStyle of the splitter from rsUpdate to rsLine or rsPattern which avoid redrawing the attached controls while dragging. This does not look as chique as the updating splitter, but definitely better than the garbled partially repainted display.
Title: Re: not satisfied behaviour of lcl
Post by: Gald on October 17, 2021, 08:15:23 pm
Try to set DoubleBuffered property of this Form to True.  It helps in some cases, i guess.
TinyPortal © 2005-2018