[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Dialogs' (#lcl)

TCustomTaskDialog.URL

Universal Resource Locator (or identifier) for a hyperlink clicked on the task dialog.

Declaration

Source position: dialogs.pp line 829

public property TCustomTaskDialog.URL : string
  read FURL;

Description

URL is a read-only String property which contains the resource identifier for a hyperlink clicked in one of the text areas for the task dialog.

Include tfEnableHyperlinks in the Flags property to enable hyperlinks in text areas on the task dialog like Text, ExpandedText, and FooterText.

Hyperlinks are written using the common HTML Anchor notation:

<a href="https://forum.lazarus.freepascal.org/">Lazarus Forum</a>

Use the OnHyperlinkClicked event handler to perform any actions needed to locate, open, or display content represented by the value in URL. Please note that URL can contain any valid URI.

Version info

Added in LCL version 4.0.

See also

TCustomTaskDialog.Flags

  

Set of options enabled for the Task dialog.

TCustomTaskDialog.Text

  

Text displayed as main content for the Task dialog.

TCustomTaskDialog.ExpandedText

  

Text that is displayed in the expandable / collapsible area on the Task dialog.

TCustomTaskDialog.FooterText

  

Text that is displayed in the footer area on the Task dialog.

TCustomTaskDialog.OnHyperlinkClicked

  

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

TTaskDialogFlags

  

Set type used to store values from the TTaskDialogFlag enumeration.

TTaskDialogFlag

  

Represents options that can be enabled for TTaskDialog.


Version 4.0 Generated 2025-05-03 Home