Zitat von Hans-Peter Diettrich <[email protected]>:

Paul Ishenin schrieb:

AFAIR the LCL doesn't handle the non-client areas of controls. I.e.
Height and ClientHeight (typically) are identical.

Yes. Only GetWindowRect can return a full window rectangle.

Why is this function not used to provide the correct sizes?

I added some notes to the FAQ:

http://wiki.lazarus.freepascal.org/Autosize_/_Layout#Why_is_TForm.Width_equal_to_TForm.ClientWidth.3F

Mattias




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

Reply via email to