Vcl.Grids.TCustomDrawGrid.EditorMode
Delphi
property EditorMode: Boolean read FEditorMode write SetEditorMode;
C++
__property EditorMode;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomDrawGrid |
Description
Determines whether the current cell can be edited.
Vcl.Grids.TCustomDrawGrid.EditorMode inherits from Vcl.Grids.TCustomGrid.EditorMode. All content below this line refers to Vcl.Grids.TCustomGrid.EditorMode.
Determines whether the current cell can be edited.
Set EditorMode to true, at runtime, to put the grid in edit mode. When EditorMode is true, the user can edit cells in the grid. When the user presses F2, EditorMode is set to true. When the user presses Enter, the value of EditorMode is toggled.
Note: EditorMode has no effect if the Options property does not include goEditing or if the Options property includes goAlwaysShowEditor.