Board index » delphi » Application.ProcessMessages ?
k...@edition.bonbit.org (Kay Hayen)
![]() Delphi Developer |
Sun, 28 Feb 1999 03:00:00 GMT
|
k...@edition.bonbit.org (Kay Hayen)
![]() Delphi Developer |
Sun, 28 Feb 1999 03:00:00 GMT
Application.ProcessMessages ?Hallo. I have a loop doing some graphics. To be nice my program calls regulary Now my question: Clicks on TBitbtns "while" painting the graphics call the Mls, Kay |
Olav
![]() Delphi Developer |
Tue, 02 Mar 1999 03:00:00 GMT
Re:Application.ProcessMessages ?QuoteKay Hayen wrote: _ | | | _ _ http://www.stud.unit.no/~olavb/ |_| |_|_|_|_| Ol...@dds.nl Eyecom Images, Amsterdam finger:Ol...@stud.unit.no |
Nick Hodg
![]() Delphi Developer |
Sat, 06 Mar 1999 03:00:00 GMT
Re:Application.ProcessMessages ?Quotek...@edition.bonbit.org (Kay Hayen) wrote: Add or Application.Terminated to the loop with the Application.ProcessMessages in it. Nick Hodges |
Brien Ki
![]() Delphi Developer |
Sun, 07 Mar 1999 03:00:00 GMT
Re:Application.ProcessMessages ?On Thu, 19 Sep 1996 01:48:09 GMT, son...@pacific.net.sg (Song Weng [Snip] Quote>Can you elaborate more on your solution? I have the following delay repeat should do the trick. Brien King |
Song Weng S
![]() Delphi Developer |
Mon, 08 Mar 1999 03:00:00 GMT
Re:Application.ProcessMessages ?On Tue, 17 Sep 1996 00:52:12 GMT, nhod...@apci.net (Nick Hodges) Quote~...@edition.bonbit.org (Kay Hayen) wrote: ~>I have a loop doing some graphics. To be nice my program calls regulary ~>Application.ProcessMessages. ~ ~>Now my question: Clicks on TBitbtns "while" painting the graphics call the ~>correct handlers as expected, but choosing Close from the systemmenu or ~>clicking the window close button does not terminate the program as ~>expected immediately but after finishing the graphics routine. Why is this ~>so and how can I change this behaviour ? ~ ~Kay -- ~ ~Add ~ ~or Application.Terminated ~ ~to the loop with the Application.ProcessMessages in it. Hi Nick, Can you elaborate more on your solution? I have the following delay TIA. procedure TfrmChartMain.Delay(Period: LongInt); Finest Regards, _ __ _____ _____ Email : son...@pacific.net.sg |
Song Weng S
![]() Delphi Developer |
Tue, 09 Mar 1999 03:00:00 GMT
Re:Application.ProcessMessages ?On 18 Sep 1996 10:08:02 -0700, bk...@primenet.com (Brien King) wrote: ~On Thu, 19 Sep 1996 01:48:09 GMT, son...@pacific.net.sg (Song Weng Hi Brien, Thanks a lot for the tips. You have been most helpful. Finest Regards, _ __ _____ _____ Email : son...@pacific.net.sg |
Eric Harber
![]() Delphi Developer |
Thu, 11 Mar 1999 03:00:00 GMT
Re:Application.ProcessMessages ?Of course, you could do something like: if Application.Terminated then If your program is correctly structured this should work regardless of the Good luck, Eric. In article <3241ec61.5023...@news.singnet.com.sg>, son...@pacific.net.sg Quote
|
1. D2-Application.ProcessMessages
2. How to use (Application.)ProcessMessage in DLL?
3. Application.ProcessMessages within CGI
4. Application.ProcessMessages inside DLL?????
5. while (PreferencesForm = nil) do Application.ProcessMessages
6. Application:ProcessMessages Problem
7. Application.ProcessMessages
8. Does one need to delay with application.processmessage?