Mattias Gaertner schrieb:

OnResize is a very important event. See the mails from zeljko. It now
works somewhat like OnAfterResize, which should be quite Delphi
compatible.

The name OnAfterResize would be misleading. It was always triggered
after the control was resized. But for Delphi compatibility it should
be triggered after all other have reacted to this resize. That's not
even true for Delphi, but that is how a lot of code uses it.

While OnResize should be kept for Delphi compatibility, I still would suggest to add further events, according to the layout recalculation passes. Then OnResize could be deprecated, or get the new usage documented, while true Lazarus applications and components should use the new events.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to