Vcl.DBGrids.TCustomDBGrid.Scroll

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also