Sign in Join
FPDoc Onlineexperiment

TDataSet.BeforeEdit property

Member of TDataSetpublicIn unit DB

Event triggered before the dataset is put in edit mode.

Declaration

pascal
property BeforeEdit: TDataSetNotifyEvent read FBeforeEdit write FBeforeEdit;

Description

BeforeEdit is the triggered at the start of the Edit method. The dataset is still in dsBrowse state when this event is triggered. If an exception is raised in the BeforeEdit event handler, then the dataset will remain in dsBrowse state, and the edit operation is cancelled.

See also

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