Solved

Delphi's equivelent to the VB function 'DoEvents'

Posted on 2001-06-15
5
244 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Working with hours 3 85
Convert a string into a TDateTime 5 78
CheckListBox usage 3 95
With Delphi XE10, how to use .Manifest file on WIndows 10 Machines 3 57
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 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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

738 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