[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)

TDataSet.BeforeScroll

Event triggered before the cursor changes position.

Declaration

Source position: db.pas line 1755

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: Jun 22 2020