API Delphi

Question:
Does Delphi have an equivalent for the VB function DoEvents?
Answer:
Yes, use Application.ProcessMessages.