Sign in Join
FPDoc Onlineexperiment

TTaskDialog.ExpandedText property

Member of TTaskDialogpublishedIn unit Dialogs

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

Declaration

pascal
property ExpandedText:;

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 Website.';

Or, the multi-line value can be entered in the object inspector using the 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.

This description is the one of Dialogs.TCustomTaskDialog.ExpandedText.

See also

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