Sign in Join
FPDoc Onlineexperiment

TCustomTaskDialog.Expanded property

Member of TCustomTaskDialogpublicIn unit Dialogs

Indicates the expanded or collapsed state for the ExpandedText on the task dialog form.

Declaration

pascal
property Expanded: Boolean read FExpanded;

Description

Expanded is a read-only Boolean property which indicates whether the content in ExpandedText is currently displayed in the expanded or collapsed state. The property value is updated each time the expando control (expand / collapse indicator) is clicked.

When set to Trueb>, the values in ExpandedText ar displayed in the expanded state on its text area. Otherwise the values in ExpandText are not visible on the dialog.

Expanded is always True when tfquery or tfSimpleQuery is included in the Flags for the dialog. In addition, the expando control is not displayed on the dialog.

Use the OnExpanded event handler to perform actions needed after the property value has been updated in the task dialog.

Added in LCL version 4.0.

See also

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