Docs: Updates for LCL. Issue #38696, patch from Don Siders.

git-svn-id: trunk@64897 -
This commit is contained in:
juha 2021-04-02 09:57:29 +00:00
parent dbd1e52b63
commit 047a6801cc
3 changed files with 1406 additions and 1065 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1491,6 +1491,26 @@
<element name="TCustomFrame.Notification.Operation">
<short>Operation for the notification</short>
</element>
<element name="TCustomFrame.SetColor">
<short>Sets the value for the Color property</short>
<descr>
<p>
<var>SetColor</var> is an overridden method in <var>TCustomFrame</var> used to set the value for the <var>Color</var> property. It calls the inherited method on entry.
</p>
<p>
When the Color property contains a value other than <var>clDefault</var>, the <var>ParentBackground</var> property is set to <b>False</b>.
</p>
</descr>
<seealso>
<link id="TCustomFrame.ParentBackground"/>
<link id="#lcl.controls.TControl.Color">TControl.Color</link>
</seealso>
</element>
<element name="TCustomFrame.SetColor.Value">
<short>New value for the property</short>
</element>
<!-- procedure Visibility: protected -->
<element name="TCustomFrame.SetParent">
<short>Sets the value for the Parent property</short>
@ -1583,14 +1603,20 @@
<short>Indicates if the control uses the background from the parent</short>
<descr>
<p>
The write access specifier is overridden in TCustomFrame, and calls the <var>UpdateOpaque</var> method.
The write access specifier is overridden in <var>TCustomFrame</var>. It calls the inherited method on entry.
</p>
<p>
If the new property value is <b>True</b> and ParentColor is <b>True</b>, the color assigned to the <var>Parent</var> control is stored in the <var>Color</var> property. Otherwise, Color is set to the value <var>clDefault</var>. The <var>UpdateOpaque</var> method is called to adjust the control style flags for the control.
</p>
<p>
The default value for the property is <b>True</b>.
</p>
</descr>
<seealso>
<link id="TCustomFrame.UpdateOpaque"/>
<link id="#lcl.controls.TWinControl.ParentBackground">TWinControl.ParentBackground</link>
<link id="#lcl.controls.TControl.Color">TControl.Color</link>
<link id="#lcl.controls.TControl.Parent">TControl.Parent</link>
</seealso>
</element>

View File

@ -826,6 +826,22 @@
<short>Creation parameters updated in the method</short>
</element>
<element name="TCustomGroupBox.SetColor">
<short>Sets the value for the Color property</short>
<descr>
<p>
Changes the value in <var>ParentBackground</var> to <b>False</b> when <var>Color</var> is set to a value other than <var>clDefault</var>.
</p>
</descr>
<seealso>
<link id="TCustomGroupBox.ParentBackground"/>
<link id="#lcl.controls.TWinControl.Color">TWinControl.Color</link>
</seealso>
</element>
<element name="TCustomGroupBox.SetColor.Value">
<short>New value for the property</short>
</element>
<element name="TCustomGroupBox.SetParentBackground">
<short>Sets the value for the ParentBackground proprety</short>
<descr/>
@ -875,7 +891,13 @@
<short>Indicates if the control uses the background from the parent</short>
<descr>
<p>
The write access specifier is overridden in TCustomGroupBox, and calls the <var>UpdateOpaque</var> method.
The write access specifier is overridden in <var>TCustomGroupBox</var>. It calls the inherited method on enty.
</p>
<p>
If <var>AParentBackground</var> is <b>True</b> and ParentColor is <b>True</b>, the <var>Color</var> from the <var>Parent</var> control is assigned to the <var>Color</var> property. Otherwise, the value <var>clDefault</var> is stored in the Color property.
</p>
<p>
The <var>UpdateOpaque</var> method is called to adjust the control style flags in the control.
</p>
<p>
The default value for the property is <b>True</b>.