Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.DoExit procedure

Member of TCustomDBGridprotectedIn unit DBGrids

DoExit closes the editor and the datalink for the control.

Declaration

pascal
procedure DoExit; override

Description

DoExit is an overridden procedure in TCustomDBGrid used to close the editor and the datalink for the control. A valid dataset must be assigned in the DataLink property and inserts must be cancellable for the dataset. The Options property must include the dgCancelOnExit enumeration value for the grid. If any of these conditions are not met, no actions are performed in the method on either the dataset or the Field editor.

DoExit calls the inherited method to perform any actions implemented in the ancestor class.

See also

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