TdxFormattedLabelHyperlinkClickEvent Type
The OnHyperlinkClick event’s procedural type.
Declaration
TdxFormattedLabelHyperlinkClickEvent = procedure(Sender: TObject; const AURI: string; var AHandled: Boolean) of object;
Parameters
Name | Type |
---|---|
Sender | TObject |
AURI | string |
AHandled | Boolean |
Remarks
You can handle this event to implement a custom response to a click on the formatted label control’s hyperlink. Use the Sender parameter to identify the label that raised the event. You can cast the Sender parameter to the TdxFormattedLabel class to access the control’s type-specific properties. Use the AURI parameter to obtain the clicked hyperlink’s resource identifier. Assign True to the AHandled parameter to forbid the default hyperlink activation routines from invoking the default application associated with the link destination’s URI scheme.
See Also