Is it possible to "lazy load" a ListBox or other list type control so
it only loads the items needed to be visible at a given scroll
position? I have a large dictionary with over 100,000 topics which I
would like to view in a listbox. The listbox chokes on that many
(Greek Unicode) items and won't even scroll. The list controls of
other platforms (Delphi, etc.) can load and scroll the items
flawlessly and I was wondering if there was a trick to getting wx to
do it.
Use wx.ListCtrl in wx.LC_VIRTUAL mode. See the examples in the demo.
···
On 10/29/11 10:29 AM, tsmorton wrote:
Is it possible to "lazy load" a ListBox or other list type control so
it only loads the items needed to be visible at a given scroll
position? I have a large dictionary with over 100,000 topics which I
would like to view in a listbox. The listbox chokes on that many
(Greek Unicode) items and won't even scroll. The list controls of
other platforms (Delphi, etc.) can load and scroll the items
flawlessly and I was wondering if there was a trick to getting wx to
do it.