Hi all,
I seem to have fixed the problem by sprinkling 'Application.ProcessMessages' before each read statement. Now the question is: Is this the proper solution and why does it fix the problem?

Thanks
Gerry B.


Date: Thu, 26 May 2005 21:33:43 -0500
From: "Gerry Bendixen" <[EMAIL PROTECTED]>
Subject: Process stops with focus change
To: <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hi all,
I have a simple form that is a user interface to some database processing. The operator specifies the requested processing and initiates the processing with a single button press. The problem is that after the program is running, when the operator uses the mouse to select something else on the desktop, and the form loses focus (top bar of form changes to a lighter shade of color) the processing ceases. The operating system is Win XP. The program is written with Delphi 5.

I don't recall this behavior in the past. Is there some setting that causes this behavior?

Thanks in advance.
Gerry B.




_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to