Solved

doevents  -    the functions before this command must be done....

Posted on 2003-12-10
2
236 Views
Last Modified: 2010-04-05
The code above in the programm must be completely worked through, before the next command comes.

In VB  there is the command doevents...
Is there the same or better procedure in delphi ??????


thank you

greetings from austria    max
0
Comment
Question by:thomaspeter
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 8

Expert Comment

by:gmayo
ID: 9911299
Application.ProcessMessages if that is what you mean. It's hard to tell...

Geoff M.
0
 
LVL 8

Accepted Solution

by:
gmayo earned 200 total points
ID: 9911307
Basically it processes any messages in the application's message queue, so that things like redraw/refresh work. You'd use it, for example:
1. Screen.Cursor := crHourglass
2. Application.ProcessMessages
3. Do lengthy operation
4. Screen.Cursor := crDefault

Line 2 is important as the screen cursor wouldn't otherwise update until after the lengthy operation.

Geoff M.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question