Docs: LCL/comctrls. Adds TTabControl.Canvas topic for changes in 45519ddb. Issue #22780.

* Removes extraneous whitespace characters in various topics.
This commit is contained in:
dsiders 2023-05-15 15:32:53 +01:00
parent 5f13c97542
commit e2f724b683

View File

@ -7813,6 +7813,47 @@ Indicates if there are unfinished updates for one of the Tabs on the control.
<short/>
</element>
<element name="TTabControl.Canvas">
<short>
Provides access to the Canvas where the control is drawn.
</short>
<descr>
<p>
<var>Canvas</var> is a read-only <var>TCanvas</var> property in
<var>TTabControl</var>. It is introduced as a public property, so it can be
accessed at run-time in program code. It is a platform property, and is
available on the Windows platform only in the current LCL release. It
provides code compatibility with the tab control in the Delphi VCL.
</p>
<p>
At run-time, a TControlCanvas instance is created and assigned to the property
member in the Create constructor.
</p>
<p>
Canvas is used in the Paint method to perform drawing operations which render
the control. The handle for the Canvas may be temporarily updated in the
PaintWindow method to use a specified device context. In this case, the canvas
handle is reset to an unassigned value after the Paint method is called to
render the control.
</p>
<p>
Use Canvas to access text metrics using the font for the canvas, or to perform
custom drawing operations on the control.
</p>
</descr>
<version>
Added in LCL version 2.4.0 for the Windows platform.
</version>
<seealso>
<link id="TTabControl.Paint"/>
<link id="TTabControl.PaintWindow"/>
<link id="TTabControl.Font"/>
<link id="TTabControl.Create"/>
<link id="#lcl.controls.TControlCanvas">TControlCanvas</link>
<link id="#lcl.graphics.TCanvas">TCanvas</link>
</seealso>
</element>
<element name="TTabControl.DisplayRect">
<short>Display area for the tab control.</short>
<descr>
@ -18787,7 +18828,7 @@ The up/down button is aligned on the bottom edge of a TUpDown control.
<element name="TUDOrientation">
<short>
Indicates the orientation for the arrows on a TUpDOwn control.
Indicates the orientation for the arrows on a TUpDown control.
</short>
<descr>
<p>