TDataSet.Cancel procedure
Cancel the current editing operation.
Declaration
procedure Cancel; virtualDescription
Cancel cancels the current editing operation and sets the dataset again in browse mode.
This operation triggers the
BeforeCancel and
AfterCancel events.
If the dataset was sin insert mode, then the
BeforeScroll and
AfterScroll
events are triggered after and respectively before the
BeforeCancel and
AfterCancel events.
If the dataset was not in one of the editing modes when Cancel is called,
then nothing will happen.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
