?
Solved

calling Application.ProcessMessages from a Data Module

Posted on 2005-03-08
2
Medium Priority
?
679 Views
Last Modified: 2010-04-05
Hi,

I want to tell the user of my program that it is still working by updateing  Statusbar.Panels on the main Form from time to time.
As I remember I have to call Application.ProcessMessages in order to interrupt the calculations and display the new message.

But:
Neither in a data module nor in a unit (not the main form) 'application' is known.

My questions:

Is the way used principially ok ?
How to make 'application' known to dependant units ?

Thanks
K.-P. Becker
0
Comment
Question by:KPBecker
[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 Comments
 
LVL 13

Accepted Solution

by:
BlackTigerX earned 375 total points
ID: 13487988
just include "Forms" in the uses of that unit or the DataModule unit
0
 

Author Comment

by:KPBecker
ID: 13488423
Thanks to BlackTigerX

That's it !

K.-P. Becker
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

752 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