• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

Delphi's equivelent to the VB function 'DoEvents'



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
Madmarlin
Asked:
Madmarlin
1 Solution
 
DMNCommented:
Application.ProcessMessages;
0
 
JohnchCommented:
You can try using

Application.processmessages

0
 
MannSoftCommented:
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
 
geobulCommented:
Hi,
Application.ProcessMessages;

Regards, Geo
0
 
geobulCommented:
Hi all,

Wonderful sequence :-)
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now