On 18.02.2018 11:44, Giuliano Colla wrote:
Il 18/02/2018 11:09, Ondrej Pokorny via Lazarus ha scritto:
On 18.02.2018 0:59, Graeme Geldenhuys via Lazarus wrote:
Now comes the BIG question... Does LCL have a reference implementation?
Yes, it does. It is Delphi.
That's not true, as far as events triggering is concerned.
Delphi implementation is to fire each visual change when requested.
LCL implementation is to queue all visual changes and to fire all of
them at the end. This provides better efficiency but completely
disrupts the order in which events are fired.
Those lines of code generate two events on Delphi, and just one event
on LCL:
MyLabel.Color := clRed;
MyLabel.Color := clGreen;
What events are generated?
Ondrej
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus