TCustomGrid.DoEnter procedure
Performs actions needed when the grid control receives focus.
Declaration
procedure DoEnter; overrideDescription
DoEnter is an overridden method in TCustomGrid. The inherited DoEnter method is called on entry to signal the OnEnter event handler (when assigned).
It ensures that the active selection and optional editor control are restored when grid control receives focus. If the Editor is not locked for update, and is always visible, the Editor class is re-selected and it is displayed in the active cell. When the Editor is not always visible (goAlwaysShowEditor is not in Options), InvalidateFocused is called to request the active cell or row selection to be redrawn.
DoEnter is called from the CMEnter method when it handles the corresponding control message.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
