Felipe Monteiro de Carvalho schrieb:
On Mon, Feb 13, 2012 at 11:34 AM, Hans-Peter Diettrich
<[email protected]> wrote:
The problem in the subject is a different one: there exists *no* way to
specify the extent of the *content* (client) part of a window, and let the
window manager adjust the *overall* size of the window accordingly,
depending on border and caption styles. No problem for Delphi, but the LCL
doesn't support that yet :-(
You are completely wrong. Lazarus supports setting the client area of
the window and this is the only way exposed in TCustomForm.Width,
Height, ClientWidth, ClientHeight.
Oops, you're right.
Setting/Getting the total window area including decoration is
currently exposed only in LCLIntf currently.
Then I wonder why it doesn't work properly with the IDE main window. A
fixed maximal client height is nonsense, because it disallows the user
to enlarge the window when needed. According to the documenation,
AutoSize would be the right choice instead.
DoDi
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus