[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Scrolls an associated grid when a column or row is dragged beyond the client area for the control.
Source position: grids.pas line 727
type TGridScroller = class |
||
public |
||
constructor Create(); |
|
Constructor for the class instance. |
destructor Destroy; override; |
|
Destructor for the class instance. |
procedure Start(); |
|
Stores the scroll direction and starts the internal timer for the class instance. |
end; |
|
Scrolls an associated grid when a column or row is dragged beyond the client area for the control. |
|
| | ||
TObject |
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.
|
Applies a change in the mouse pointer position to the grid control. |
|
|
Handles a mouse up event for the grid control. |
|
|
Destructor for the class instance. |
Version 3.2 | Generated 2024-02-25 | Home |