Re: [Lazarus] How to fix slow screen refresh of TListbox?

2022-11-20 Thread Jean SUZINEAU via lazarus
Maybe you could add a buffer in your flow of data, storing the incoming data ? When a line ending arrives, you can flush your buffer to Synedit up to the line ending, keeping in the buffer just the end of the data not yet terminated by a line ending. --

Re: [Lazarus] How to fix slow screen refresh of TListbox?

2022-11-20 Thread Vojtěch Čihák via lazarus
It wouldn't be that hard to write custom component based on TGraphicControl + TBitmap with built-in bitmap font. Copying bitmap letters will be faster than rendering from ttf.   V. __ Od: "Bo Berglund via lazarus" Komu:

Re: [Lazarus] How to fix slow screen refresh of TListbox?

2022-11-20 Thread Bo Berglund via lazarus
On Sun, 20 Nov 2022 18:21:56 -0300, Flávio Etrusco via lazarus wrote: >I see. My point is that you don't need to copy the whole DataBuffer and >re-populate the whole SynEdit each time you receive new data. But this >probably won't matter much unless you have hundreds of thousands of lines

Re: [Lazarus] How to fix slow screen refresh of TListbox?

2022-11-20 Thread Flávio Etrusco via lazarus
Em dom., 20 de nov. de 2022 04:23, Bo Berglund via lazarus < lazarus@lists.lazarus-ide.org> escreveu: > On Fri, 18 Nov 2022 18:40:57 -0300, Flávio Etrusco via lazarus > wrote: > > >Em dom., 13 de nov. de 2022 às 18:36, Luca Olivetti via lazarus < > >lazarus@lists.lazarus-ide.org> escreveu: > > >