Docs: LCL/taskdlgemulation. Adds or updates topics for changes in a397741a.

* TLCLTaskDialog.ProgressBar
* TLCLTaskDialog.AddProgressBar
* TLCLTaskDialog.SetupControls
This commit is contained in:
dsiders 2023-08-25 19:56:01 +01:00
parent 5ce38411c6
commit 8fcbf71988

View File

@ -66,6 +66,7 @@ Added in LCL version 4.0 as replacement for the deprecated types in the
<element name="LCLProc"/> <element name="LCLProc"/>
<element name="DateUtils"/> <element name="DateUtils"/>
<element name="Math"/> <element name="Math"/>
<element name="ComCtrls"/>
<element name="LResources"/> <element name="LResources"/>
<element name="Menus"/> <element name="Menus"/>
<element name="Graphics"/> <element name="Graphics"/>
@ -176,6 +177,8 @@ Added in LCL version 4.0.
<element name="TLCLTaskDialog.CommandLinkButtonVSpacing"/> <element name="TLCLTaskDialog.CommandLinkButtonVSpacing"/>
<element name="TLCLTaskDialog.BevelMargin"/> <element name="TLCLTaskDialog.BevelMargin"/>
<element name="TLCLTaskDialog.BevelHeight"/> <element name="TLCLTaskDialog.BevelHeight"/>
<element name="TLCLTaskDialog.ProgressBarHeight"/>
<element name="TLCLTaskDialog.ProgressBarVSpacing"/>
<element name="TLCLTaskDialog.FDlg"> <element name="TLCLTaskDialog.FDlg">
<short> <short>
@ -240,6 +243,12 @@ The expand/collapse button (expando control) for the Task dialog.
</short> </short>
</element> </element>
<element name="TLCLTaskDialog.ProgressBar">
<short>
The progress bar control for the Task dialog.
</short>
</element>
<!-- private --> <!-- private -->
<element name="TLCLTaskDialog.GetDefaultButtons"/> <element name="TLCLTaskDialog.GetDefaultButtons"/>
<element name="TLCLTaskDialog.GetDefaultButtons.AButtonDef"/> <element name="TLCLTaskDialog.GetDefaultButtons.AButtonDef"/>
@ -263,6 +272,12 @@ The expand/collapse button (expando control) for the Task dialog.
<element name="TLCLTaskDialog.AddPanels"/> <element name="TLCLTaskDialog.AddPanels"/>
<element name="TLCLTaskDialog.AddProgressBar"/>
<element name="TLCLTaskDialog.AddProgressBar.ALeft"/>
<element name="TLCLTaskDialog.AddProgressBar.ATop"/>
<element name="TLCLTaskDialog.AddProgressBar.AWidth"/>
<element name="TLCLTaskDialog.AddProgressBar.AParent"/>
<element name="TLCLTaskDialog.AddRadios"/> <element name="TLCLTaskDialog.AddRadios"/>
<element name="TLCLTaskDialog.AddRadios.ARadioOffSet"/> <element name="TLCLTaskDialog.AddRadios.ARadioOffSet"/>
<element name="TLCLTaskDialog.AddRadios.AWidth"/> <element name="TLCLTaskDialog.AddRadios.AWidth"/>
@ -423,6 +438,7 @@ Not used in the method.
<element name="TLCLTaskDialog.DoOnHelp"/> <element name="TLCLTaskDialog.DoOnHelp"/>
<!-- protected --> <!-- protected -->
<!-- TODO: Needs revision. -->
<element name="TLCLTaskDialog.SetupControls"> <element name="TLCLTaskDialog.SetupControls">
<short> <short>
Configures and initialize properties and controls used on the emulated task Configures and initialize properties and controls used on the emulated task
@ -431,10 +447,13 @@ dialog form.
<descr> <descr>
<p> <p>
<var>SetupControls</var> is a method used to configure / initialize controls <var>SetupControls</var> is a method used to configure / initialize controls
on the emulated dialog form using the properties in the <var>TTaskDialog</var> on the emulated dialog form using the properties from the
instance where the form is displayed. SetupControls performs actions needed to <var>TTaskDialog</var> instance where the form is displayed.
set property values on the dialog form to match the settings and values on the </p>
TTaskDialog instance. This includes: <!--
<p>
SetupControls performs actions needed to set property values on the dialog form
to match the settings and values on the TTaskDialog instance. This includes:
</p> </p>
<ul> <ul>
<li> <li>
@ -464,9 +483,6 @@ Content in the Verification text.
Value for the Verification check-box. Value for the Verification check-box.
</li> </li>
<li> <li>
Captions displayed next to the expand / collapse indicator (expando button).
</li>
<li>
Common buttons (and the default button) on the dialog form. Common buttons (and the default button) on the dialog form.
</li> </li>
<li> <li>
@ -494,6 +510,7 @@ the timer used for progress bar display (when enabled in Flags).
Finally, the ActiveControl on the form is updated for the enabled controls on Finally, the ActiveControl on the form is updated for the enabled controls on
the dialog. the dialog.
</p> </p>
-->
<p> <p>
SetupControls is called from the Execute method for the emulated task dialog. SetupControls is called from the Execute method for the emulated task dialog.
</p> </p>