[Lazarus] Way to detect control resize start-stop

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Sep 10 00:07:41 CEST 2015


On Fri, 4 Sep 2015 16:01:42 -0300
Fabio Luis Girardi <fluisgirardi at gmail.com> wrote:

> The LCL has some mechanism to detect when a control is being re-sized and
> when resize is done?

Please define what you mean with "resize is done".
Every event can trigger new resizes.

Usually you can use OnResize or OnChangeBounds.

When the LCL has set all properties and OnResize events were fired the
LCL sends the new bounds to the widgetset-interface in
TWinControl.RealizeBounds, which can be overridden.


Mattias




More information about the Lazarus mailing list