Sign in Join
FPDoc Onlineexperiment

TControl.GetChildrenRect function

Member of TControlpublicIn unit Controls

Get the visible part of a possibly scrolled client area.

Declaration

pascal
function GetChildrenRect(Scrolled: Boolean): TRect; virtual

Description

If Scrolled is False, the ScrollOffset is ignored, so that the ClientRect is returned. Returns the Client rectangle relative to the left and top for the control. If Scrolled is True, the rectangle is moved by the current scrolling values (for an example see TScrollingWincontrol).

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