> Better use a private TBitmap to the thread, and give public access to a > built-shadow TBitmap of it via a property of the Thread....
Yes, generally threads using private variables only are easier to handle
reasons for sharing data among different threads. Let's say a low pass filter, where each thread generates a separate section of a result image, but needs to read pixels from the whole area of a shared source image (well, one could duplicate this source image before, making it private for each thread, if duplicating takes much less time and resources than the processing itself).
-- Jens Gruschel http://www.pegtop.net