ExtendedStrEditor

Class: TEgDBGridEx

property ExtendedStrEditor: Boolean default False;

Whether a variable-length String column (ftString/ftWideString - not fixed-length ftFixedChar/ftFixedWideChar) uses the same extended in-place editor behavior a Memo/CLOB column always has, instead of the plain default single-line editor a String column has always used. False (the default) preserves that original behavior; set True to extend the Memo/CLOB editing behavior below to variable-length String columns too. Overridable per column - see TEgColumn.ExtendedStrEditor.

Fixed-length columns (ftFixedChar/ftFixedWideChar) never use the extended behavior, regardless of this property’s value.

The extended editor behavior

A Memo/CLOB column’s in-place editor - and a String column’s, once this property (or its per-column override) resolves True - behaves differently from a plain TDBGrid editor in the following ways:

None of this changes how the cell is painted while not being edited - CellWordWrap and MemoMaxChars still control the read-only preview exactly as before, and a String column’s own resting-state rendering is completely unaffected by this property either way.

See Also

(C) 2026 Easygate, Lda