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

Vojtěch Čihák vojtech.cihak at atlas.cz
Mon Nov 21 00:03:09 CET 2022


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" <lazarus at lists.lazarus-ide.org>
> Komu: lazarus at lists.lazarus-ide.org
> Datum: 11.11.2022 16:29
> Předmět: [Lazarus] How to fix slow screen refresh of TListbox?
>

 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 MUCH faster!
 
 But I can not find a BeginUpdate on the TListBox object, only BeginUpdateBounds,
 which does not tell me much....
 
 Any suggestions?
 
 
 -- 
 Bo Berglund
 Developer in Sweden
 
 -- 
 _______________________________________________
 lazarus mailing list
 lazarus at lists.lazarus-ide.org
 https://lists.lazarus-ide.org/listinfo/lazarus <https://lists.lazarus-ide.org/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20221121/1cd3bd6a/attachment.htm>


More information about the lazarus mailing list