Sign in Join
FPDoc Onlineexperiment

TCustomSQLQuery.BeforeDelete property

Member of TCustomSQLQueryprotectedIn unit SQLDB

Declaration

pascal
property BeforeDelete:;

Description

Not described here; this is what TDataSet.BeforeDelete says of it:

Event triggered before a Delete operation.

BeforeDelete is triggered at the start of the Delete operation, when the dataset is still in dsBrowse state. The event handler can be used to abort the delete operation: if an exception is raised during the event handler, then the delete operation stops. The event is followed by a BeforeScroll event. If the dataset was in insert mode when the Delete method was called, then the event will not be called, as Cancel is called instead.

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