I’ve got a bit of a problem that I’m struggling to get around. I’ve got a ThreadWithProgressWindow class which makes a connection to a database and stores all info in an OwnedArray. Easy enough to do, and it works perfectly (as explained in the documentation), however I have a class which uses this OwnedArray to populate it’s ListBox. So basically, when the component isShowing() == true, the ThreadWithProgressWindow class as mentioned above recreates the OwnedArray (to get the latest info), but at the same time the ListBox’s painListBoxItem function wants to draw up the ListBox. This then causes issues as the OwnedArray will probably still be updating.
Does anyone have any ideas?