[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Performs actions needed when the grid control receives focus.
Source position: grids.pas line 1031
protected procedure TCustomGrid.DoEnter; override; |
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.
|
Contains the set of optional features and/or behaviors enabled for the grid control. |
|
|
The editor control used to modify the value in the current cell. |
|
|
Indicates if a Selection is active in the grid control. |
|
|
Signals the OnEnter event handler (when assigned) when the control receives focus. |
|
|
Event handler signalled when the control receives focus. |
|
|
Handles the CM_ENTER control message for the control. |
Version 4.0 | Generated 2025-05-03 | Home |