Sign in Join
FPDoc Onlineexperiment

GetClientRect function

In unit LCLIntf

Returns the client rectangle of a control. Left and Top are always 0.

Declaration

pascal
function GetClientRect(handle: HWND; var Rect: TRect): Boolean

Description

The client rectangle is the size of the inner area of a control, where the child controls are visible.

A child control with Align set to alClient will completely fill the ClientRect.

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