Alex Smirnov wrote:
*Dear Friends!*

Ones more I ask you for some help. Help me please to understand how can I get real height of any form window created by Lazarus? The matter is trhat TForm.Height returns not a total Form height, but Form height minus title bar height.

Yes, that is correct and by design. It is maybe historical, but it is/was very difficult to create a form with a given total size, if you can't get the size of the title bar (with gtk).

Actually, in Lazarus TForm.Height is equal to TForm.ClientHeight in Delphi.

In Lazarus TForm.ClientHeight doesn't include the space for the menubar, so if you have a menubar TForm.ClientHeight<TForm.Height.


So, ones more - I can't find any info about that. This problem is very important for me.

*Best regards, Alexey.*

Best regards,
Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to