TCDControl.GetClientRect function
Declaration
function GetClientRect: TRect; overrideDescription
Not described here; this is what TWinControl.GetClientRect says of it:
Gets the value for the ClientRect property.
GetClientRect is an overridden method in TWinControl used to get
the value for the ClientRect property. ClientRect contains the visual client
area for the control.
GetClientRect extends the inherited method to synchronize values in the control with its widgetset class instance using the Handle for the control. It uses values in ComponentState and the control flags for the TWinControl instance to determine the actions needed in the method. If an action cannot be determined, or the handle is not available, values in ClientWidth and ClientHeight are used as the Width and Height in the TRect instance.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
