En/na Luca Olivetti ha escrit: > My main reason is that the layout of the screeen(s) has to be fixed, > besides avoiding the dragging of the form avoids freezing threads > waiting on a Synchronize (though dragging a scrollbar will freeze them > anyway, and that's really bad for my application).
I now found out that this bad behaviour is lazarus specific: under delphi I can drag the window and/or the scrollbar and the synchronized procedure won't stop the thread, while under lazarus it does. This is *really* bad, since a user could inadvertently stop the background threads. I could try some workaround (i.e not using synchronize but set some variables in the main form and use a timer to update the visual compnents) but it's ugly and error-prone. I opened a bug with an example program http://bugs.freepascal.org/view.php?id=11561 Later I'll try if under linux it does the same. Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007 _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
