[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Stores the scroll direction and starts the internal timer for the class instance.
Source position: grids.pas line 737
public procedure TGridScroller.Start( |
ADir: TPoint |
); |
ADir |
|
TPoint instance with the relative scroll direction for an associated grid control. |
Start is a method used to configure and activate the scroller class instance.
Start stores the value from the ADir argument to the Dir member in the class instance. The TPoint value contains the relative scroll direction for the associated grid control. The X member indicates the horizontal scroll direction; -1 scrolls toward the left, and 1 scrolls toward the right. Similarly, the Y member indicates the vertical scroll direction; -1 scrolls toward the top, and 1 scrolls toward the bottom.
Start sets the value for the Enabled property in the internal TTimer instance to True. This causes the Callback routine, passed as argument to the constructor, to be executed when the time Interval (200ms) has elapsed.
Start is called when a TGridScroller instance is assigned for the grid control, and occurs when column or row drag operations are handled for the control.
|
Applies a change in the mouse pointer position to the grid control. |
|
|
Handles a mouse up event for the grid control. |
|
Version 4.0 | Generated 2025-05-03 | Home |