View Single Post
  #2 (permalink)  
Old 07-24-2007, 06:24 AM
katie katie is offline
Member
 
Join Date: Jul 2007
Posts: 41
katie is on a distinguished road
when you compile the thread you have to give it some reference to the class that has txtData, so that the thread can access to it through get method.

From the class that calls the thread you can do that
Code:
MyThread myThread = new MyThread(txtData)
and thread class has an attribute to save the reference to txtData
Reply With Quote