Sign in Join
FPDoc Onlineexperiment

TCustomTaskDialog.OnHyperlinkClicked property

Member of TCustomTaskDialogpublicIn unit Dialogs

Event handler signalled when a hyperlink in one of the text areas has been clicked.

Declaration

pascal
property OnHyperlinkClicked: TNotifyEvent read FOnHyperlinkClicked write FOnHyperlinkClicked;

Description

OnHyperlinkClicked is a TNotifyEvent property with the event handler signalled when a hyperlink in one of the text areas on the task dialog has been clicked. The URL property contains the target for the hyperlink in the event notification.

Hyperlinks may appear in the Text, ExpandedText, and FooterText properties. They use the common HTML Anchor notation like:

<a href="https://www.lazarus-ide.org/">Lazarus website</a>

Include tfEnableHyperlinks in the Flags property to enable display and handling for hyperlinks in the text areas on the dialog.

Hyperlinks are automatically disabled when tfQuery or tfSimpleQuery are included in Flags. The textual content for hyperlinks is still displayed - but without formatting and event handler notifications.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.