I\'ve implement a log viewer using a TListBox in virtual mode.
It works fine (for all the code I wrote), displays the content as expected (I even added an horizontal scr
For a custom log viewer I wrote, I use a TListView
in virtual mode, not a TListBox
. Works great, no 32K limits, no need to fiddle with SetScrollInfo()
at all. Just set the Item.Count
and the rest is handled automatically. It even has an OnDataHint
event that can be used to optimize data access by letting you load only the data that the TListView
actually needs. You don't get that with a TListBox
.