Solved

Delphi's equivelent to the VB function 'DoEvents'

Posted on 2001-06-15
5
243 Views
Last Modified: 2010-04-06


Anyone know the Delphi equivelent???

Basically I need to yeild execution and pass control to the operating system for it to complete the events queued..
0
Comment
Question by:Madmarlin
[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
5 Comments
 
LVL 4

Accepted Solution

by:
DMN earned 30 total points
ID: 6195575
Application.ProcessMessages;
0
 
LVL 1

Expert Comment

by:Johnch
ID: 6195576
You can try using

Application.processmessages

0
 
LVL 6

Expert Comment

by:MannSoft
ID: 6195579
I havent used VB but from the description it sounds like you may want Application.ProcessMessages.  I usually pair a call to that with Sleep(1).  I dont know if thats a bad habit I picked up from using VirtualPascal or if its actually good, but it doesnt hurt.
0
 
LVL 17

Expert Comment

by:geobul
ID: 6195581
Hi,
Application.ProcessMessages;

Regards, Geo
0
 
LVL 17

Expert Comment

by:geobul
ID: 6195587
Hi all,

Wonderful sequence :-)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

735 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