Sign in Join
FPDoc Onlineexperiment

TTaskDialog.Text property

Member of TTaskDialogpublishedIn unit Dialogs

Text displayed as main content for the Task dialog.

Declaration

pascal
property Text:;

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.

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

See also

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