John schrieb: > In Lazarus, form1.height returns the client height not the form height > so this doesn't work. AFAIR the LCL doesn't handle the non-client areas of controls. I.e. Height and ClientHeight (typically) are identical. DoDi