TControl.GetScrolledClientRect function
Get the visible part of the logical client area.
Declaration
function GetScrolledClientRect: TRect; virtualFunction result
The scrolled ClientRect (TopLeft, BottomRight).
Description
Includes the ScrollOffset in a TScrollingWinControl Parent.
For TControl: When the Parent is a TScrollingWinControl, the ClientRect is offset by its ScrollOffset. This Rect can be intersected with the visible ClientArea of the Parent, to get the actual visible part of the control.
For TWinControl: The visible ClientRect is offset by ScrollOffset, to reflect the visible part of the logical ClientRect.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
