[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

doevents  -    the functions before this command must be done....

Posted on 2003-12-10
2
Medium Priority
?
241 Views
Last Modified: 2010-04-05
The code above in the programm must be completely worked through, before the next command comes.

In VB  there is the command doevents...
Is there the same or better procedure in delphi ??????


thank you

greetings from austria    max
0
Comment
Question by:thomaspeter
[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
  • 2
2 Comments
 
LVL 8

Expert Comment

by:gmayo
ID: 9911299
Application.ProcessMessages if that is what you mean. It's hard to tell...

Geoff M.
0
 
LVL 8

Accepted Solution

by:
gmayo earned 800 total points
ID: 9911307
Basically it processes any messages in the application's message queue, so that things like redraw/refresh work. You'd use it, for example:
1. Screen.Cursor := crHourglass
2. Application.ProcessMessages
3. Do lengthy operation
4. Screen.Cursor := crDefault

Line 2 is important as the screen cursor wouldn't otherwise update until after the lengthy operation.

Geoff M.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

650 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