Vcl.DBGrids.TCustomDBGrid.Scroll
Delphi
procedure Scroll(Distance: Integer); virtual;
C++
virtual void __fastcall Scroll(int Distance);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
Description
Updates the image of the grid to reflect a new record position.
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.