We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Running application in IDE - can't switch back to application after switching to another window

riskassessor
riskassessor asked
on
Medium Priority
202 Views
Last Modified: 2010-05-18
When I'm running a program in the IDE, I see my program run. My programs typically take quite a while to run. When I switch to another application - e.g. Word to develop my report while waiting for the analysis results - when I try to swicth back to the application to see how it's doing, I can't view it. When the program finishes, it comes back into view again. Is this normal Delphi behavior or am I doing something wrong?
Comment
Watch Question

Commented:
This is normal.
Place
Application.ProcessMessages
somewhere in a lengthy loop

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Thanks for solution. I put this command in the code so that it is executed every 1000 iterations and now I can switch away from the program window to do other work and then switch back whenever I want to to check on how my program run is doing. Note that Forms needs to be added to Uses.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.