TPanel.ClientHeight property
The height for the client area on the control.
Declaration
property ClientHeight:;Description
ClientHeight is an
Integer property with the number of
pixels needed for the vertical client area on the control. The property
contains the value from the Bottom member in ClientRect. Changing the value for
ClientHeight causes SetClientSize to be called to apply the existing
ClientWidth and the new value for the property.
The value for ClientHeight is not stored or used to set the Height for the control during LCL component streaming. It is used, however, when AutoSizing is restored and when auto-layout policies using Anchors are applied to the control. For example, when Anchors is set to [akBottom] the value in ClientHeight is needed / used.
Use ClientWidth to access the number of pixels needed for the horizontal client area on the control.
This description is the one of Controls.TControl.ClientHeight.
See also
- ClientRect
- ClientWidth
- Height
- AutoSizing
- EnableAutoSizing
- AutoAdjustLayout
- Resize
- Anchors
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
