vcl-dxrichedit-dot-actions-79aebbe2.md
An action object that corresponds to the UpdateTableOfContents command provided by the Rich Edit control.
TdxRichEditControlUpdateTableOfContents = class(
TdxRichEditControlAction
)
This class does not introduce any new public members. A table of contents is based on the text paragraphs to which the Heading 1, Heading 2, etc. styles are applied. Modifying one of these paragraphs does not automatically change the table of contents. Executing a TdxRichEditControlUpdateTableOfContents action object updates a table of contents (i.e., a TOC document field) in which the caret or text selection is currently located.
UI elements linked to a TdxRichEditControlUpdateTableOfContents action object are enabled only if the Rich Edit control’s ReadOnly property is set to False.
TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlUpdateTableOfContents
See Also
TdxRichEditControlUpdateTableOfFigures