Data.DB.TDataSet.BeforeScroll

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeScroll: TDataSetNotifyEvent read FBeforeScroll write FBeforeScroll;

C++

__property TDataSetNotifyEvent BeforeScroll = {read=FBeforeScroll, write=FBeforeScroll};

Properties

Type Visibility Source Unit Parent
event public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Occurs before an application scrolls from one record to another.

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.

BeforeScroll is an event handler of type Data.DB.TDataSetNotifyEvent.

See Also