RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.TimedScroll Method

Moves the current record in response to the user dragging the mouse outside of the data cells.

Pascal
procedure TimedScroll(Direction: TGridScrollDirection); override;
C++
virtual __fastcall TimedScroll(TGridScrollDirection Direction);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!