[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'DB' (#fcl)

# TDataSet.AfterScroll

Event triggered after the cursor has changed position.

## Declaration

Source position: db.pas line 1761

`public property TDataSet.AfterScroll : TDataSetNotifyEvent read FAfterScroll write FAfterScroll;`

## Description

AfterScroll is triggered after the cursor has changed position. This can happen with one of the navigation methods: TDataset.Next, TDataset.Prior, TDataset.First, TDataset.Last, but also with two of the editing operations:TDataset.Insert and TDataset.Delete and after the dataset was opened. It is suitable for displaying status information or showing a value that needs to be calculated for each record.

## See also

TDataset.AfterScroll |  | Event triggered after the cursor has changed position.
TDataset.Next |  | Go to the next record in the dataset.
TDataset.Prior |  | Go to the previous record
TDataset.First |  | Position the dataset on the first record.
TDataset.Last |  | Navigate forward to the last record
TDataset.Insert |  | Insert a new record at the current position.
TDataset.Delete |  | Delete the current record.
TDataset.Open |  | Activate the dataset: Fetch data into memory.

Documentation generated on: May 14 2021