Cancel method

Applies To
TQDB, TQDBItem, TQDBView

Declaration
procedure Cancel;

Description
Cancel belongs to the family of QDB methods corresponding to the buttons of TQDBNavigator. Cancel aborts the current operation, e.g., abandons an Edit or Insert. Cancel can be called directly or via TQDBNavigator.

Cancel behaves differently in the different descendants of TQDB as each descendant adds its own functionality.

In TQDB
Does nothing more than switch out of edit or insert mode and call UpdateNavigator.

In TQDBItem
As above but additionally undoes any changes to the current item by reloading.

In TQDBView
As above but also puts the panel into the appropriate mode -- see AutoEdit.