Solved

Delphi's equivelent to the VB function 'DoEvents'

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help on project with Soap 10 53
Delphi selector screen 2 78
delphi parse string to params 3 122
enhance the following code 3 31
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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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