Skip to main content
All docs
V26.1
  • TdxFormattedTextPropertiesBase.OnHintedTextClick Event

    Allows you to respond to a click on a text range enclosed between [HINT] and [/HINT] markup tags.

    Declaration

    property OnHintedTextClick: TdxHintedTextClickEvent read; write;

    Remarks

    Handle the OnHintedTextClick event to execute custom code when a user clicks a text range enclosed between [HINT] and [/HINT] markup tags in a formatted message, label, or UI element caption.

    Event Occurrence

    The OnHintedTextClick event occurs every time a user clicks a hint-marked text range.

    Event Parameters

    The following parameters are available within an OnHintedTextClick event handler:

    Sender
    Allows you to access the control or UI element that raised the hint-marked text range click event.
    AArgs
    Allows you to access information about the hint-marked text click event that occurred. You can use AArgs.Button and AArgs.Shift properties to identify the clicked mouse button and the modifier keys pressed when the mouse button is clicked.

    Refer to TdxHintedTextClickEvent and TdxHintedTextClickEventArgs type descriptions for detailed information on all options available within an OnHintedTextClick event handler.

    In addition, you can handle the following events to track mouse movement between hint-marked text ranges:

    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