TdxRichEditControlRemoveHyperlinkField Class
An action object that corresponds to the RemoveHyperlinkField command provided by the Rich Edit control.
Declaration
TdxRichEditControlRemoveHyperlinkField = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlRemoveHyperlinkField action object converts the currently selected hyperlink to plain text.
UI elements linked to a TdxRichEditControlRemoveHyperlinkField 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.DocumentCapabilities.Hyperlinks property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
The caret (or the current text selection) is located within a hyperlink or a hyperlink is located within the current text selection;
The current text selection includes only a single hyperlink.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlRemoveHyperlinkField action object, use the sdxRichEditCommandRemoveHyperlinkMenuCaption and sdxRichEditCommandRemoveHyperlinkDescription resource strings, respectively.