[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Scrolls the non-fixed area for the control by the specified delta values.
Source position: grids.pas line 1182
protected procedure TCustomGrid.ScrollBy( |
DeltaX: Integer; |
DeltaY: Integer |
); override; |
DeltaX |
|
Scroll amount in the horizontal direction. A negative value scrolls to the left, and a positive value scrolls to the right. |
DeltaY |
|
Scroll amount in the vertical direction. A negative value scrolls toward the top, and a positive value scrolls toward the bottom. |
ScrollBy us an overridden method in TCustomGrid. No actions are performed in the method when both DeltaX and DeltaY contain 0 (zero).
ScrollBy calls ScrollWindowEx to perform the scrolling operation for the non-fixed client area on the control. It updates the visible grid area in the cached information for the control, and recalculates the scroll bar ranges.
ScrollBy is called from the TrySmoothScrollBy method, and occurs when scroll bar messages or mouse wheel events are handled for the grid control.
|
The number of fixed columns in the grid. |
|
|
Number of the fixed rows in the grid. |
|
|
Scrolls the grid origin by the specified relative amounts. |
|
|
Column number for the first visible column on the left edge of the grid. |
|
|
The first visible row in the grid. |
|
|
Performs actions to apply a mouse wheel message to the grid control. |
|
|
Scrolls child controls by the specified number of pixels. |
|
|
Size of the client area for the control. |
Version 4.0 | Generated 2025-05-03 | Home |