From db6d6937fea4c867df884b9ac24db79af6c55686 Mon Sep 17 00:00:00 2001 From: dsiders Date: Thu, 24 Aug 2023 18:05:31 +0100 Subject: [PATCH] Docs: LCL/dialogs. Adds or updates content in topics. * TProgressBarState * PBST_NORMAL * PBST_ERROR * PBST_PAUSED * TTaskDialogProgressBar --- docs/xml/lcl/dialogs.xml | 83 ++++++++++++++++++++++++++++------------ 1 file changed, 58 insertions(+), 25 deletions(-) diff --git a/docs/xml/lcl/dialogs.xml b/docs/xml/lcl/dialogs.xml index 9e7233c5a3..660a923692 100644 --- a/docs/xml/lcl/dialogs.xml +++ b/docs/xml/lcl/dialogs.xml @@ -5758,9 +5758,10 @@ the class instance. Ordinal position in the collection for the property value. - - + +Alias to the TProgressBarState type in comctrls.pp. + Added in LCL version 4.0. @@ -5770,35 +5771,68 @@ Added in LCL version 4.0. - - + +Numeric constant used in the Task Dialog API to represent pbsNormal from the +TProgressBarState enumeration. + - + + + - - - - - - - - - - - - - - - - + +Numeric constant used in the Task Dialog API to represent pbsError from the +TProgressBarState enumeration. + Added in LCL version 4.0. - + + + + + + +Numeric constant used in the Task Dialog API to represent pbsPaused from the +TProgressBarState enumeration. + + + +Added in LCL version 4.0. + + + + + + + +Provides information about a progress bar displayed on a TTaskDialog instance. + + +

+TTaskDialogProgressBar is a TPersistent descendant used +to represent information about a progress bar displayed on a task dialog. It +provides properties used to configure or update the progress bar, like: Min, +Max, Position, MarqueeSpeed, and State. It includes methods used to create the +progress bar on the task dialog, and to send its settings to the widgetset +class including its drawing state. It is not the actual progress bar control, +however. +

+

+TTaskDialogProgressBar is the type used to implement the ProgressBar property +in TTaskDialog. +

+
+ +Added in LCL version 4.0. + + + +
@@ -5877,7 +5911,7 @@ Added in LCL version 4.0. - + Contains the number of milliseconds between updates for a progress bar using @@ -5885,8 +5919,7 @@ the marquee style.

-MarqueeSpeed is a Cardinal property. Until there are implementation details, -the usage of the value is undetermined. +MarqueeSpeed is a Cardinal property.

The default value for the property is 0.