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

2022-11-11 Thread Bo Berglund via lazarus
On Fri, 11 Nov 2022 18:49:15 +0100, Luca Olivetti via lazarus wrote: >Play with the properties in the project inspector, you can remove the >gutter (gutter.visible -> false), the margin (by setting RightEdge to a >very big value, say 800) and customize much of its appearance.. > I replaced the

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

2022-11-11 Thread Luca Olivetti via lazarus
El 11/11/22 a les 17:56, Bo Berglund via lazarus ha escrit: I have never used TSynEdit before so I tried dropping one onto my form and it looked a bit "strange" with a wide margin to the left... > How does it work (especially the margin that steals space)? Play with the properties in the

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

2022-11-11 Thread Werner Pamler via lazarus
Am 11.11.2022 um 16:29 schrieb Bo Berglund via lazarus: You see that the buffer contains the complete log history from the start... When the first block of data has arrived I would store the length of the buffer at this time. Then next time when new data come in, I would extract the "new

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

2022-11-11 Thread Bo Berglund via lazarus
On Fri, 11 Nov 2022 17:10:08 +0100, Luca Olivetti via lazarus wrote: >El 11/11/22 a les 16:29, Bo Berglund via lazarus ha escrit: >> I have noticed that after a while the display becomes very sluggish when data >> arrives and I think that is due to the way the component operates. > >You could

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

2022-11-11 Thread Bo Berglund via lazarus
On Fri, 11 Nov 2022 16:29:31 +0100, Bo Berglund via lazarus wrote: >Now I wonder if there is some way to do as I did when I worked in Delphi with >TListView objects, where I could use the BeginUpdate and EndUpdate calls to >make >all screen updates wait until it was all put in place. >This was

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

2022-11-11 Thread Luca Olivetti via lazarus
El 11/11/22 a les 16:29, Bo Berglund via lazarus ha escrit: I have noticed that after a while the display becomes very sluggish when data arrives and I think that is due to the way the component operates. You could try using a TSynEdit instead of a TListBox: some years ago I switched from

[Lazarus] Qt6 widgetset

2022-11-11 Thread zeljko via lazarus
Hi all, I've just committed Qt6 widgetset into main :) Tested only under linux atm (win32/64 and mac users can try to build libQt6Pas, if something went wrong pls inform me or open an issue about it), lazarus ide qt6 works just fine. libQt6Pas is based on LTS Qt6-6.2.3, so to build

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

2022-11-11 Thread Bo Berglund via lazarus
I am using a TListbox component on a form for displaying debug data arriving over a serial line at 115200 baud. The data are a set of MQTT telegram texts which arrive in packets of about 40 lines each time (once per 10 seconds). I add them to the listbox as follows: procedure