[Lazarus] controling a loop

Lukasz Sokol el.es.cr at gmail.com
Fri Aug 12 16:31:23 CEST 2016


On 12/08/16 15:10, Bart wrote:
> On 8/12/16, Michael Schnell <mschnell at lumino.de> wrote:
> 
> 
>> Each event should be finished (ad the handler procedure exited) as fast
>> as possible.
> 
> If you extend this (into ludicracy) this would mean that exch event
> should fire a new thread that rubs the code needed and then exit...
> ;-)
> 

Well probably if the event is required to do something useful but time-consuming
(like launching a long long calculation) while the GUI (thread) needs to be responsive
(e.g. report on progress, maybe abort the calculation or change parameters in-flight)


> Bart
> 
el es



More information about the Lazarus mailing list