Sign in Join
FPDoc Onlineexperiment

TControl.GetClientScrollOffset function

Member of TControlprotectedIn unit Controls

Returns the offset of the scrolled client area (in a scrolling TWinControl).

Declaration

pascal
function GetClientScrollOffset: TPoint; virtual

Function result

The X and Y offsets of the visible client area, equal to the scroll bar positions.

Description

The overridden method may fail when the TScrollingWinControl has only one scroll bar.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.