[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Grids' (#lcl)

# TCustomGrid.DoEditorHide

Performs actions needed to hide the cell Editor in the grid control.

## Declaration

Source position: grids.pas line 1028

`protected procedure TCustomGrid.DoEditorHide; virtual;`

## Description

DoEditorHide is a procedure used to hide the cell Editor for the control.

When gfEditingDone is included in the GridFlags for the control, and CanFocus indicates that the control can be focused, it is used as the ActiveControl in the parent Form. The Visible property in Editor is set to False to hide the cell editor for the control.

DoEditorHide is called from the EditorHide method.

## See also

TCustomGrid.Editor |  | The editor control used to modify the value in the current cell.
TCustomGrid.GridFlags |  | Contains grid-specific state flags active for the control.
TCustomGrid.EditorHide |  | Hides a visible cell editor in the grid control.
TGridFlags |  | Set type used to store TGridFlagsOption enumeration values.
TGridFlagsOption |  | Represents state flags used in a grid control.
TCustomForm.ActiveControl |  | Gets or sets the active control on the form.
TWinControl.CanFocus |  | Is this control allowed to receive the focus when parent form is visible?