Solved

Delphi's equivelent to the VB function 'DoEvents'

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

13 Experts available now in Live!

Get 1:1 Help Now