[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Performs actions needed when the control loses focus.
Source position: grids.pas line 1030
protected procedure TCustomGrid.DoExit; override; |
DoExit is an overridden method in TCustomGrid. It ensures that an active editor control and the active selection are updated when the grid control loses focus.
If the editor for the control is not always visible (goAlwaysShowEditor in Options), InvalidateFocused is called to invalidate the cell or the row. ResetEditor is called to sync and re-display the Editor when needed. SelectActive is set to False when the internal grid state is gsSelecting, and it is reset to gsNormal.
The inherited DoExit method is called to signal the OnExit event handler (when assigned).
DoExit is called from the CMExit 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. |
|
|
Resets the value in the cell Editor, and optionally re-displays and selects it content. |
|
|
Indicates if a Selection is active in the grid control. |
|
|
Enumerated type with grid state values. |
|
|
Signals the OnExit event handler (when assigned) when the control loses focus. |
|
|
Event handler signalled when the control loses focus. |
|
|
Handles the CM_EXIT control message for the control. |
Version 4.0 | Generated 2025-05-03 | Home |