On 4 April 2014 09:13, John Dammeyer <[email protected]> wrote: > Another alternative is to put your loop code into a separate thread. > Threads > are often used to do long sorting operations or digital signal processing > while in effect returning control to the main program. >
John, I thank you once again for expanding my horizons. I have never looked into threads before because I just saw them as a means of allowing multiple tasks and so far all of my software has not needed that. One task at a time is perfect for what my stuff does. For the moment I'm using the "Application.ProcessMessages" route for the problem which prompted my initial help request, because it works. However, for future similar examples I shall look into both of your suggestions - timer and threads. Sid, Your suggestion is one of the things that I tried before asking for help. It didn't work for me until I added "Application.ProcessMessages" to the loop. That's all that was missing from all of the methods that I had tried. Regards Tony Foale [email protected] http://www.tonyfoale.com http://picasaweb.google.com/tonyfoale https://www.facebook.com/tony.foale.5 https://www.youtube.com/user/MotoChassis _______________________________________________ Delphi mailing list [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi
