TCustomTaskDialog.CollapseButtonCaption property
Caption text for the "expando" button on the task dialog.
Declaration
property CollapseButtonCaption: TTranslateString read FCollapseButtonCaption write FCollapseButtonCaption;Description
CollapseButtonCaption is a
TTranslateString property with
the text displayed next to the "expando" button for the dialog when Expanded is
set to
True. It describes the action performed the next time the button
is clicked. When omitted (or set to an empty string), the value 'Hide details'
is used.
The property value can be localized using the translation facilities provided in the Lazarus IDE when enabled for a project, or by manually calling the translation routines in LazUtils.
Use ExpandButtonCaption to specify the caption displayed when the content in ExpandedText is collapsed (Expanded is set to False).
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
