TCustomTaskDialog.Text property
Text displayed as main content for the Task dialog.
Declaration
property Text: TTranslateString read FText write FText;Description
Text is a
TTranslateString property with the text
displayed in the main content 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.Text := 'Please read and accept the Terms of Service. ' + #10 + 'You must agree before the application can be installed.';
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 using the <a href="linktarget">Link Text</a> notation. The feature must be enabled by including tfEnableHyperlinks in the Flags property.
Use ExpandedText to set the content in the collapsible area on the Task dialog. Use tfExpandFooterArea in the Flags property to position the expanded text in the footer area.
Multi-line property editors in the object inspector were enabled in Lazarus version 2.2.0.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
