Faber wrote:
Hi,

Form1.ClientHeight, Form1.ClientWidth not a good solution for you?

    

form1.ClientHeight is smaller then form1.Height, in my case 538 vs. 557
(19px)

regards
faber


  
I have not gone back to check any of this, but I am pretty sure Faber is correct. 

In Delphi, as I recall, you can position form 2 immediately below form 1 with form2.top := form1.top + form1.height.  Form.height is the total form height, including the title bar and border. 

In Lazarus, form1.height returns the client height not the form height so this doesn't work. 

Windows XP (no fancy themes), reasonably recent Lazarus SVN trunk.

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

Reply via email to