Vcl.DBGrids.TCustomDBGrid.TimedScroll
Delphi
procedure TimedScroll(Direction: TGridScrollDirection); override;
C++
DYNAMIC void __fastcall TimedScroll(Vcl::Grids::TGridScrollDirection Direction);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
Description
Moves the current record in response to the user dragging the mouse outside of the data cells.
If the Direction parameter includes sdUp, TimedScroll moves the dataset to the first visible record in the grid. If the Direction parameter includes sdDown, TimedScroll moves the dataset to the last visible record in the grid. After adjusting the current record, TimedScroll calls the inherited method to update the image.