Sign in Join
FPDoc Onlineexperiment

TScrollingWinControl.ScrollBy procedure

Member of TScrollingWinControlpublicIn unit Forms

Tells the widget to scroll the client area by the specified relative values.

Declaration

pascal
procedure ScrollBy(DeltaX: Integer; DeltaY: Integer); override

Arguments

DeltaX

Horizontal distance for the scroll operation.

DeltaY

Vertical distance for the scroll operation.

Description

ScrollBy calls the inherited ScrollBy_WS to apply the relative horizontal and vertical values to the widgetset class instance. An exception is raised if the handle has not been allocated. The still visible part doesn't deserve a repaint (optimization).

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