I’m loading 2,000 names into an FMX TListBox and it is taking far too long (like 35 seconds or more).
Here is the test code:
theTimeAtStart := TThread.GetTickCount;
for J := 1 to 2200 do
ShowMessage(‘There were ‘ + J.ToString + ‘ strings added to the list in ‘ + (TThread.GetTickCount – theTimeAtStart).ToString + ‘ milliseconds.’);
Is there something about TListBox that makes it too slow for a few thousand strings?