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

# TDataSet.AfterScroll

Event triggered after the cursor has changed position.

## Declaration

Source position: db.pas line 1374

`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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net .