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:
The Rich Edit control’s Options.Behavior.Copy property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
There is a selection within the current document.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlCopySelection action object, use the sdxRichEditCommandCopySelectionMenuCaption and sdxRichEditCommandCopySelectionDescription resource strings, respectively.