Type: Integer
Availability: Read or write at run time only
The clientHeight property of the Form class contains the height of the client area of a form in pixels. The client area of a form is the area inside the borders, caption, menu bar, or scroll bars where controls can be placed. The position of child controls is relative to the top left of this client area.
This property can also be used to set the height of the client area of a form in pixels, by changing the property. Changing this property resizes the form so that the client area sizes match the specified value.
The clientHeight property can be useful when using graphical methods and changing the scaleMode property of a form.
The value of the clientHeight property is the same as that of the scaleHeight property when the scaleMode property value of a form is pixels.
The code fragment in the following example shows the use of the clientHeight property.
mktForm.height := self.clientHeight - self.frame1.height;
See also the clientHeight method for controls.