RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomADODataSet.BeforeScroll Event

Occurs before an application scrolls from one record to another.

Pascal
property BeforeScroll: TDataSetNotifyEvent;
C++
__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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!