Skip to main content

TdxRichEditControlInsertTableCaption Class

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

Declaration

TdxRichEditControlInsertTableCaption = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlInsertTableCaption action object inserts a SEQ field with the Table identifier at the caret position within the current document. A user can insert table captions by using the InsertTableOfTables command provided by a TdxRichEditControlInsertTableOfTables action object.

UI elements linked to a TdxRichEditControlInsertTableCaption 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