Rainer von Saleski wrote:
> I need to create a thread (I think) to allow screen updates to happen 
> during a 5-minute processing step that does heavy internet access.  I 
> tried simply putting .Update calls inside my loop, but about one run in 
> 5, the screen just stops updating until processing completes.  Sort of 
> defeats the purpose of keeping the user informed.

GUI operations are thread-specific. Therefore, to update the GUI, you 
need to update it from the GUI's own thread.

Do your Internet operation in your secondary thread. Leave your main 
thread alone. Then there's nothing to update.

-- 
Rob
_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to