3
votes

The Dark Side of Application.ProcessMessages in Delphi Applications
About Delphi Programming
– in Delphi Stuff :: When coding an event handler in Delphi (like the OnClick event of a TButton), there comes the time when your application needs to be busy for a while, e.g. the code needs to write a big file or compress some data. If you do that you'll notice that your application seems to be locked. Your form cannot be moved anymore and the buttons are showing no sign of life. It seems to be crashed. Application.ProcessMessages might come as a rescue, but you need to know its dark side! Read the full article to learn when and when not to use Application.ProcessMessages Related: ...
Statistics
|
Visits by Source |
User Actions |