Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TDataSet.BeforeScroll

Event triggered before the cursor changes position.

Declaration

Source position: db.pas line 1982

public property TDataSet.BeforeScroll : TDataSetNotifyEvent
  read FBeforeScroll
  write FBeforeScroll;

Description

BeforeScroll is triggered before the cursor changes 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. Raising an exception in this event handler aborts the operation in progress.

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.


Documentation generated on: Nov 23 2024