TWinControl.ScrollBy procedure
Scrolls child controls by the specified number of pixels.
Declaration
procedure ScrollBy(DeltaX: Integer; DeltaY: Integer); virtualArguments
DeltaX | Number of pixels scrolled in the horizontal direction. |
DeltaY | Number of pixels scrolled in the vertical direction. |
Description
ScrollBy temporarily disables auto-sizing while the child Controls
are being moved, and re-enables auto-sizing prior to exiting form the method.
The Left and Top bounds for each of the child Controls are updated by the
amounts specified in DeltaX and DeltaY. The Height and Width values are not
modified.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
