RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.TimedScroll Method

Extends a move, resize, or selection out of the scrollable region when the user drags the mouse in a direction where the grid is scrolled.

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

TimedScroll is called periodically as the user continues to drag with the mouse outside of the scrollable cells in the grid. TimedScroll does nothing unless the user is moving a row or column, resizing a row or column, or selecting a multiple cell region using the mouse. TimedScroll scrolls the cells in the grid to allow the operation to continue into the portion of the grid that was hidden due to scrolling. 

 

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