diff --git a/docs/xml/lcl/dialogs.xml b/docs/xml/lcl/dialogs.xml index ca6b13e5e2..983234be84 100644 --- a/docs/xml/lcl/dialogs.xml +++ b/docs/xml/lcl/dialogs.xml @@ -5839,6 +5839,7 @@ and includes additional features not found in previous versions. + @@ -6435,6 +6436,39 @@ and passed as arguments to the wrapper in LCLTaskDialog. + + +Caption text for the "expando" button on the task dialog. + + +

+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). +

+
+ +Added in LCL version 4.0. + + + + + +TTranslateString + +
+ Index of the default button, from the set in the CommonButtons property. @@ -6477,9 +6511,11 @@ 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). Setting a value for the property causes the same -caption to be displayed for both the expanded and collapsed states; only the -button indicator changes. +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 @@ -6487,8 +6523,12 @@ expanded / collapsed state (tfExpandedByDefault) for the ExpandedText on the Task dialog.

+ +Added in LCL version 4.0. + + @@ -7047,7 +7087,7 @@ completed. Added in LCL version 4.0. -TLCLTaskDialog +TLCLTaskDialog
@@ -7245,6 +7285,7 @@ end; + diff --git a/docs/xml/lcl/taskdlgemulation.xml b/docs/xml/lcl/taskdlgemulation.xml index a7cc48d5d6..d3985d4d54 100644 --- a/docs/xml/lcl/taskdlgemulation.xml +++ b/docs/xml/lcl/taskdlgemulation.xml @@ -3,7 +3,7 @@ +