TdxRichEditControlOpenHyperlink Class
An action object that corresponds to the OpenHyperlink command provided by the Rich Edit control.
Declaration
TdxRichEditControlOpenHyperlink = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlOpenHyperlink action object activates the currently selected hyperlink.
UI elements linked to a TdxRichEditControlOpenHyperlink action object are enabled only if the following conditions are met:
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 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 TdxRichEditControlOpenHyperlink action object, use the sdxRichEditCommandOpenHyperlinkMenuCaption and sdxRichEditCommandOpenHyperlinkDescription resource strings, respectively.