RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.Scroll Method

Updates the image of the grid to reflect a new record position.

Pascal
procedure Scroll(Distance: Integer); virtual;
C++
virtual __fastcall Scroll(int Distance);

Scroll is called in response to changes in the current record in the dataset. Scroll updates the image in the grid, scrolling the data if necessary. 

 

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