Sign in Join
FPDoc Onlineexperiment

TControl.ClientRect property

Member of TControlpublicIn unit Controls

Size of the client area for the control.

Declaration

pascal
property ClientRect: TRect read GetClientRect;

Description

Contains the size for the visual client area in the control. For example, the inner size of a TGroupBox. For a TScrollBox it is the visual size, and not the logical size.

The property value is a TRect instance with the Top and Left members set to 0, and the Height and Width members set to the corresponding property values for the control.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.