[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Hides a visible cell editor in the grid control.
Source position: grids.pas line 1076
protected procedure TCustomGrid.EditorHide; virtual; |
EditorHide ensures that an active, visible cell editor is locked / hidden / unlocked in the method. No actions are performed in the method when EditorLocked returns True, or the Editor is not visible.
EditorHide sets the value in EditorMode to False, and sets GridState to gsNormal.
No additional actions are performed when the Editor does not have a Parent (when the parent form is closing). If the Editor has an assigned Parent, the Editor is locked and DoEditorHide is called to hide the Editor. If the Editor was focused on entry, SetFocus is called to restore focus to the grid control. The editor is unlocked prior to exiting from the method.
Version 4.0 | Generated 2025-05-03 | Home |