On Sat, Dec 6, 2014 at 1:15 PM, Mattias Gaertner <[email protected]> wrote: > On Sat, 06 Dec 2014 16:02:40 +0100 > JuuS <[email protected]> wrote: > >> Hi all, >> >> A bit late with this and haven't read everything through and through but... >> >> I worked with Delphi for some time and, yes, Application.Processmessages >> brings system to knees and processor to 100%. >> >> But in Delphi there was also an Application.Handlemessage...used like this: >> >> repeat >> Application.HandleMessage; >> until AKeyPressed (or whatever); >> >> ...and the system is calm (normal load) and the program responsive. It >> was like Handlemessage was sipping water drops dripping from a fern >> leaf, while Processmessages was drinking from a fire hose... :) >> >> I don't know if anyone else has mentioned this, not reading all the >> mails, and also don't know if Handlemessage is implemented in Lazarus >> (not being by my computer right now). > > Also implemented in Lazarus. > HandleMessage waits till the next message. > > > Mattias
Unfortunately in Lazarus it doesn't (wait). -Flávio -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
