Solved

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

Posted on 2003-12-10
2
226 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
  • 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now