Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-02-2006, 09:04 AM
kate kate is offline
Senior Member
Join Date: Feb 2001
Posts: 356
Default A simple forgotten question

I wrote a few functions and procedures in my Delphi Unit1(Form1) application. Progressively,my codes are getting accumulating and getting longer and longer. So, I create a separate pas file and called it 'misc.pas'. I moved a few of my functions and procedures to this 'misc.pas' and include misc.pas into my project so that the procedures and functions can be found by Delphi.

Now, some of my functions and procedures uses 'Application.ProcessMessages' so as to let my application freezes less. The TROUBLE here is that Delphi complained that it cannot understand the term 'Application' - apparently pointing to Application.ProcessMessages that I have moved to the 'misc.pas'.

Question: What do I have to put infront of 'Application.ProcessMessages' or do I have to include something to make Delphi understand it.

Thank you for your kind assistance.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 12:17 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.