TCustomTaskDialog.ExpandButtonCaption property
Caption displayed for the expand/collapse button on the dialog.
Declaration
property ExpandButtonCaption: TTranslateString read FExpandButtonCaption write FExpandButtonCaption;Description
ExpandButtonCaption is a TTranslateString property with the
caption text displayed beside the button used to expand or collapse the
ExpandedText on the Task dialog. The property value can be localized using
the standard LCL translation facilities.
The default value for the property is an empty String (''), and cause the values "See details" or "Hide details" to be used on the Task dialog (when the language is English).
Use CollapseButtonCaption to assign the caption displayed when ExpandedText is Expanded.
Use the Flags property to control the position (tfExpandFooterArea) or the expanded / collapsed state (tfExpandedByDefault) for the ExpandedText on the Task dialog.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
