Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.ClientHeight

The height for the client area on the control.

Declaration

Source position: controls.pp line 1729

public property TControl.ClientHeight : Integer
  read GetClientHeight
  write SetClientHeight
  stored IsClientHeightStored;

Description

ClientHeight is an Integer property with the number of pixels needed for 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.

See also

TControl.ClientRect

  

Size of the client area for the control.

TControl.ClientWidth

  

The width of the client area for the control.

TControl.AutoSizing

  

Contains True while auto-sizing is in progress.

TControl.EnableAutoSizing

  

Enables automatic sizing for the control.

TControl.AutoAdjustLayout

  

Applies an automatic adjustment layout policy to the control.

TControl.Resize

  

Checks for changes and calls DoOnResize if needed.

TControl.Anchors

  

The set of anchor definitions for this control.



CT Web help

CodeTyphon Studio