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

TCustomTaskDialog.ExpandedText

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

Declaration

Source position: dialogs.pp line 655

public property TCustomTaskDialog.ExpandedText : TTranslateString
  read FExpandedText
  write FExpandedText;

Description

ExpandedText is a TTranslateString property with the text displayed in the expandable / collapsible area on the Task dialog. Its value can be localized using the standard LCL translation facilities. It can contain multi-line text when line ending characters (#13,#10) are embedded in the String value. For example:

ADialog.ExpandedText := 'Please read the Terms of Service.'+#10+
  'Available on our <a href="https://www.bogus.org/tos.html">Website</a>';

Or, the multi-line value can be entered in the object inspector property editor at design-time.

Text, ExpandedText, and FooterText allow an HTML-like hyperlinking capability (as seen in the previous code example). The feature must be enabled by including tfEnableHyperlinks in the Flags property. Use tfExpandFooterArea to control the position for the expanded text, or tfExpandedByDefault to expand or collapse the text area.

Version info

Multi-line property editors in the object inspector were enabled in Lazarus version 2.2.0.

See also

TCustomTaskDialog.Flags

  

Set of options enabled for the Task dialog.

TTaskDialogFlags

  

Set type used to store values from the TTaskDialogFlag enumeration.

TTaskDialogFlag

  

Represents options that can be enabled for TTaskDialog.

TTranslateString

  

Alias for the String type.


Version 3.2 Generated 2024-02-25 Home