Skip to main content

TdxRichEditControlInsertTableOfTables Class

An action object that corresponds to the InsertTableOfTables command provided by the Rich Edit control.

Declaration

TdxRichEditControlInsertTableOfTables = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlInsertTableOfTables action object inserts a table of tables (i.e., a special TOC document field with the \h and \c switches and the Table identifier) based on table captions within the current document. An end-user can insert table captions by using the InsertTableCaption command provided by a TdxRichEditControlInsertTableCaption action object.

UI elements linked to a TdxRichEditControlInsertTableOfTables action object are enabled only if the following conditions are met:

  • The Rich Edit control’s ReadOnly property is set to False.
  • The current selection (i.e., the caret or text selection) is not located within the document header or footer.
See Also