RAD Studio VCL Reference
TDataSet.BeforeScroll Event

Occurs before an application scrolls from one record to another.

property BeforeScroll: TDataSetNotifyEvent;
__property TDataSetNotifyEvent BeforeScroll;

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!