Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.EditorCancelEditing procedure

Member of TCustomDBGridprotectedIn unit DBGrids

EditorCancelEditing cancels pending changes and disables the editor.

Declaration

pascal
procedure EditorCancelEditing

Description

EditorCancelEditing is a procedure used to cancel pending changes and to halt the editing process.

EditorCancelEditing calls the EditingColumn method to disable the editor in the currently selected cell for the control. The EditorMode property is cleared when set, but is restored if the Options property includes the value dgAlwaysShowEditor.

EditorCancelEditing is used in the implementation of methods like DoOperation MoveSel and MouseDown.

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