Unit 'Grids' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCustomGrid.ScrollBy

Scrolls the non-fixed area for the control by the specified delta values.

Declaration

Source position: grids.pas line 1157

protected procedure TCustomGrid.ScrollBy(

  DeltaX: Integer;

  DeltaY: Integer

); override;

Description

Calls ScrollWindowEx to perform the scrolling operation for the non-fixed client area in the control. No scrolling is performed when both DeltaX and DeltaY contain 0 (zero).

Updates the visible grid area in the cached information for the control, and recalculates the scrollbar ranges.

See also

TWinControl.ScrollBy

  

Scrolls the control (and all child controls) by the specified amounts.