TCustomRichViewEdit.TopLevelEditor (read-only)

<< Click to display table of contents >>

TCustomRichViewEdit.TopLevelEditor (read-only)

Returns active editor component

property TopLevelEditor: TCustomRichViewEdit;

(introduced in version 1.7)

This property returns editor containing the caret.

This is either this RichViewEdit itself or InplaceEditor of table cell which is being edited.

If cell of nested table is being edited, this is InplaceEditor of InplaceEditor, and so on.

Insert***, GetCurrent***, SetCurrent*** methods automatically work with content of TopLevelEditor.

Use this property, if you want to work with methods having ItemNo in parameters.


This property must be accessed only when the document is formatted.