<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Faber wrote:
<blockquote cite="mid:20100407202406.44b847ab@main-laptop" type="cite">
<blockquote type="cite">
<pre wrap="">Hi,
Form1.ClientHeight, Form1.ClientWidth not a good solution for you?
</pre>
</blockquote>
<pre wrap=""><!---->
form1.ClientHeight is smaller then form1.Height, in my case 538 vs. 557
(19px)
regards
faber
</pre>
</blockquote>
I have not gone back to check any of this, but I am pretty sure Faber
is correct. <br>
<br>
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. <br>
<br>
In Lazarus, form1.height returns the client height not the form height
so this doesn't work. <br>
<br>
Windows XP (no fancy themes), reasonably recent Lazarus SVN trunk.<br>
<br>
cheers,<br>
John Sunderland<br>
</body>
</html>