Hi All.
For some reason, maybe I’m stroking out, as Grandpa Simpson would say, but I remember a command called:
Listbox.Lock
Where you could stop a listbox from refreshing until everything you want to fill it with, from a dictionary for example, was completely read.
Does it… Did it exist?
And if so how is it done now?
Regards
MarkusR
(MarkusR)
March 14, 2026, 7:04pm
2
if you have a single column you can insert all in one call
AddAllRows items() As String
i would expect the ui update / main event loop continues after your method where you fill it.
how do you update your listbox? xojo version, project type, os?
Tim_Hare
(Tim Hare)
March 14, 2026, 8:11pm
3
The tricks I recall involve toggling visibility and/or the scrollbar.
3 Likes
Hiding the scrollbar results in a much greater speed improvement than toggling visibility in my experience, or at least hiding the scrollbar provides enough speed improvement that toggling visibility is unnecessary.
1 Like
Those are all really good ideas that I would NEVER have thought of.
Thank you for the information. I will try and advise.
Regards