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

TdxRichEditControlCopySelection Class

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

Declaration

TdxRichEditControlCopySelection = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlCopySelection action object copies the current document selection (i.e., a text fragment, inline image, or floating object) to the clipboard.

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

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlCopySelection action object, use the sdxRichEditCommandCopySelectionMenuCaption and sdxRichEditCommandCopySelectionDescription resource strings, respectively.

See Also