New topic: 

Delegate and threads

<http://forums.realsoftware.com/viewtopic.php?t=47917>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        bineo          Post subject: Delegate and threadsPosted: Sun May 
19, 2013 8:45 am                         
Joined: Sun Jul 16, 2006 1:48 pm
Posts: 273
Location: Switzerland                Hello everybody

I just played around with delegates and threads. I have a simple method which 
counts up an integer and writes it to a textfield. If I run this the classic 
way (in the run event of the thread) all runs nice, the GUI is responding and 
the counter is displayed. But if I make this with a delegate I have to add a 
app.doEvents line to the loop otherwise the app doesn’t respond anymore.

Is this normal? Or have I done something wrong?

Thanks
Marco   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to