Sign in Join
FPDoc Onlineexperiment

TDataSet.BeforeScroll property

Member of TDataSetpublicIn unit DB

Event triggered before the cursor changes position.

Declaration

pascal
property BeforeScroll: TDataSetNotifyEvent read FBeforeScroll write FBeforeScroll;

Description

BeforeScroll is triggered before the cursor changes position. This can happen with one of the navigation methods: Next, Prior, First, Last, but also with two of the editing operations: Insert and Delete. Raising an exception in this event handler aborts the operation in progress.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.