RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDrawGrid.EditorMode Property

Determines whether the current cell can be edited.

Pascal
property EditorMode: Boolean;
C++
__property Boolean EditorMode;

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!