Użytkownik Nate Lowrie napisał: > Jacek, > > What I do is have a class that has attributes/properties specifically for > the status fields you want to update. The child thread is free to update > those attributes/properties because the class isn't tied in with wx. Then, > the UI thread uses callAfterInterval to update the UI with the data in the > status fields. Very simple to setup and it can be made generic pretty > easily. >
Yes it's simple, but: - is effective only if thread loop time is similar for each pass - requires thread synchronization. But it's perfect for, e.g. progress update, since I don't need to display all values. Thanks. -- Regards Jacek Kałucki _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
