TdxRichEditControlCutSelection Class
An action object that corresponds to the CutSelection command provided by the Rich Edit control.
Declaration
TdxRichEditControlCutSelection = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlCutSelection action object moves the current document selection (i.e., a text fragement, 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 ReadOnly property is set to False;
The Rich Edit control’s Options.Behavior.Cut 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 TdxRichEditControlCutSelection action object, use the sdxRichEditCommandCutSelectionMenuCaption and sdxRichEditCommandCutSelectionDescription resource strings, respectively.