TdxFormattedTextPropertiesBase.OnHyperlinkMouseLeave Event
Allows you to execute custom code when the mouse pointer leaves a hyperlink area.
Declaration
property OnHyperlinkMouseLeave: TdxHyperlinkMouseHoverEvent read; write;
Remarks
You can handle OnHyperlinkMouseEnter and OnHyperlinkMouseLeave events to track mouse pointer movement between hyperlinks defined in a formatted message, label, or UI element caption.
Event Occurrence
The OnHyperlinkMouseLeave event occurs every time the mouse pointer leaves a hyperlink area.
Event Parameters
The following parameters are available within an OnHyperlinkMouseLeave event handler:
Sender- Allows you to access the control or UI element that raised the hyperlink mouse leave event.
AArgs- Allows you to access information about the hyperlink mouse leave event that occurred and allows you to identify the target hyperlink. For example, you can use
AArgs.HyperlinkIndex andAArgs.URI properties to identify the hovered hyperlink’s position and target URI.
Refer to TdxHyperlinkMouseHoverEvent and TdxHyperlinkEventArgs type descriptions for detailed information on options available within OnHyperlinkMouseEnter and OnHyperlinkMouseLeave event handlers.
Related Hint-Marked Text Events
- OnHintedTextMouseEnter
- Allows you to execute custom code when the mouse pointer moves over a hint-marked text range.
- OnHintedTextMouseLeave
- Allows you to execute custom code when the mouse pointer leaves a hint-marked text range.
See Also