Skip to main content
A newer version of this page is available. .

TdxRichEditControlInsertCaptionPlaceholder Class

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

Declaration

TdxRichEditControlInsertCaptionPlaceholder = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. A TdxRichEditControlInsertCaptionPlaceholder action object does not allow an end-user to perform a specific action within the control. Instead, this action is linked to a TdxBarSubItem or TdxBarButton object (in a Ribbon or Toolbar UI, respectively) and modifies the availability of the InsertFiguresCaption, InsertTablesCaption, and InsertEquationsCaption commands within a drop-down menu (i.e., the corresponding action objects linked to individual TdxBarItemLink elements) depending on the state of both the current document and the Rich Edit control.

Normally, a TdxRichEditControlInsertCaptionPlaceholder action object is used by the Rich Edit control’s automatic UI generator.

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlInsertCaptionPlaceholder action object, use the sdxRichEditCommandInsertCaptionPlaceholderMenuCaption and sdxRichEditCommandInsertCaptionPlaceholderDescription resource strings, respectively.

See Also