Occurs before an application scrolls from one record to another.
Syntax:
property BeforeScroll: TDataSetNotifyEvent;
Description:
Write a BeforeScroll event handler to take specific action immediately before an application
scrolls to another record as a result of a call to the
First,
Last,
MoveBy,
Next,
Prior,
FindKey,
FindFirst,
FindNext,
FindLast,
FindPrior,
and Locate methods.
BeforeScroll is called before all other events triggered by these methods and any other methods
that switch from record to record in the dataset.