Sign in Join
FPDoc Onlineexperiment

TCustomSQLQuery.BeforeCancel property

Member of TCustomSQLQueryprotectedIn unit SQLDB

Declaration

pascal
property BeforeCancel:;

Description

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

Event triggered before a Cancel operation.

BeforeCancel is triggered at the start of the Cancel operation, when the state is still one of the editing states ( dsEdit, dsInsert). The event handler can be used to abort the cancel operation: if an exception is raised during the event handler, then the cancel operation stops. If the dataset was not in one of the editing states when the Cancel method was called, then the event is not triggered.

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