[Lazarus] Exception in OnResize event handler

Ondrej Pokorny lazarus at kluug.net
Sun Nov 6 16:08:48 CET 2016


On 06.11.2016 13:03, Jürgen Hestermann via Lazarus wrote:
> BTW:
> The wording of the help is misleading.
> It says:
>
> "Common mistake: Keep in mind that ClientWidth and ClientHeight can 
> change even when Width, Height stays the same"
>
> but it also says:
>
> "This event is triggered after the Width, Height, ClientWidth or 
> ClientHeight of the control has changed"
>
> When OnResize is triggered even when ClientWidth or ClientHeight has 
> changed then
> the "Common mistake"-sentence makes no sense to me. 

Why? It's good additional information.

Ondrej


More information about the Lazarus mailing list