Recent

Author Topic: not satisfied behaviour of lcl  (Read 2899 times)

teriyaki

  • New Member
  • *
  • Posts: 26
not satisfied behaviour of lcl
« on: October 16, 2021, 03:55:00 pm »
I set form as image, but if I move splitter, it will show as

teriyaki

  • New Member
  • *
  • Posts: 26
Re: not satisfied behaviour of lcl
« Reply #1 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?
« Last Edit: October 16, 2021, 04:01:26 pm by teriyaki »

jamie

  • Hero Member
  • *****
  • Posts: 5027
Re: not satisfied behaviour of lcl
« Reply #2 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.
The only true wisdom is knowing you know nothing

wp

  • Hero Member
  • *****
  • Posts: 9030
Re: not satisfied behaviour of lcl
« Reply #3 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.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

Gald

  • Jr. Member
  • **
  • Posts: 69
Re: not satisfied behaviour of lcl
« Reply #4 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.
Lazarus 2.0.12 r64642 FPC 3.2.0 x86_64-win64-win32/win64/Manjaro KDE 21
AMD Ryzen 3 1300X Quad-Core Processor 3.50 GHz / 8,00 GB RAM / GTX 1500 TI / 2TB M.2 NVMe

 

TinyPortal © 2005-2018