TGridScroller class
Scrolls an associated grid when a column or row is dragged beyond the client area for the control.
Declaration
TGridScroller = classDescription
TGridScroller provides methods and internal members which
implement a timer-based callback routine fired every 200ms (milliseconds).
The routine handles scrolling a grid control in a given direction by changing
the top/left visible cell for the control. The callback routine is passed as
an argument to the constructor for the class instance, and points to a
private method in the TCustomGrid instance.
TGridScroller is used in the implementation of TCustomGrid. The callback routine is signalled when MouseMove handles a row or column drag operation for the control. The class instance is created as needed, and freed when the drag operation is completed in the MouseUp method for the grid control.
See also
Methods
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
Start | public | Stores the scroll direction and starts the internal timer for the class instance. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
