Vcl.Grids.TCustomGrid.EditorMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property EditorMode: Boolean read FEditorMode write SetEditorMode;

C++

__property bool EditorMode = {read=FEditorMode, write=SetEditorMode, nodefault};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

Description

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.

See Also