Contents - Index - Previous - Next


EditorOptions property



Applies to
TProfGrid component

Declaration
property EditorOptions: TProfGridEditorOptions;

Description

Specifies various display and behavioral properties of the inplace editor.

Set EditorOptions to include the desired properties for the inplace editor. EditorOptions is a set drawn from the following values:

eoAutoIncreaseRowHeight
The height of the current row may be automatically increased to a minimal necessary height to fit the text.

eoAutoDecreaseRowHeight
The height of the current row may be automatically decreased to a minimal necessary height to fit the text.

eoShowOnChar
The grid automatically switches to edit mode when the grid is focused and the user presses a character key.

eoClearOnChar
The grid automatically switches to edit mode and clears the text in the current cell (à la Microsoft Excel) when the grid is focused and the user presses a character key.

eoCursorAtEnd
The cursor is automatically set at the end of the text in the inplace editor rather than at the beginning of the text.

eoSelectAll
All the text in the inplace editor is automatically selected after switching the grid to edit mode.

eoAllowPaste
Pasting from clipboard into inplace editor is permitted.

eoPreserveInnerBorders
The inplace editor preserves (does not overlap) the inner borders of the cell being edited.