[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Specifies an event handler routine used to scroll a grid control when a column or row is dragged beyond the grid client area.
Source position: grids.pas line 723
type TGridScrollerDoScroll = procedure( |
Dir: TPoint |
) of object; |
Dir |
|
TPoint instance with delta values indicating the scroll direction. |
Dir is a TPoint instance which indicates the scroll direction for a grid control. The X and Y members in Dir can contain position or negative values. A negative value indicates the scroll direction is to the left (X) or top (Y) of the grid control. A positive value indicates the scroll direction is to the right (X) or bottom (Y). The values cause the top and/or left visible column on the grid to be adjusted by the indicated amount.
TGridScrollerDoScroll is the type used to implement the internal callback routine in the TGridScroller class. It uses the private ScrollerDoScroll method in TCustomGrid as the handler routine called when a mouse movement is handled in the control.
|
Constructor for the class instance. |
|
|
Stores the scroll direction and starts the internal timer for the class instance. |
|
|
Applies a change in the mouse pointer position to the grid control. |
Version 3.2 | Generated 2024-02-25 | Home |