diff --git a/docs/xml/lcl/comctrls.xml b/docs/xml/lcl/comctrls.xml index 4f191f48d9..5f9530b333 100644 --- a/docs/xml/lcl/comctrls.xml +++ b/docs/xml/lcl/comctrls.xml @@ -7813,6 +7813,47 @@ Indicates if there are unfinished updates for one of the Tabs on the control. + + +Provides access to the Canvas where the control is drawn. + + +

+Canvas is a read-only TCanvas property in +TTabControl. 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. +

+

+At run-time, a TControlCanvas instance is created and assigned to the property +member in the Create constructor. +

+

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

+

+Use Canvas to access text metrics using the font for the canvas, or to perform +custom drawing operations on the control. +

+
+ +Added in LCL version 2.4.0 for the Windows platform. + + + + + + +TControlCanvas +TCanvas + +
+ Display area for the tab control. @@ -18787,11 +18828,11 @@ The up/down button is aligned on the bottom edge of a TUpDown control. -Indicates the orientation for the arrows on a TUpDOwn control. +Indicates the orientation for the arrows on a TUpDown control.

-TUDOrientation is an enumerated type with values that control the +TUDOrientation is an enumerated type with values that control the orientation of the button arrows drawn on a TUpDown control. Values in TUDOrientation can be assigned to the Orientation property in TUpDown.

@@ -21687,7 +21728,7 @@ release it.

Changing the value for the property causes the control to be redrawn. It may -also affect adjacent buttons on the tool bar with their Grouped properties +also affect adjacent buttons on the tool bar with their Grouped properties enabled. When Down is enabled for a Grouped button, the other buttons in the group are updated to set their Down states to False.

@@ -24539,7 +24580,7 @@ the band.

ParentBitmap is a Boolean property which allows the Bitmap assigned to the parent control (TCoolBar) to be used as the background -image for the band. The default value for the property is True, and +image for the band. The default value for the property is True, and enables use of the Bitmap assigned to the parent control.

@@ -36511,7 +36552,7 @@ is represented by leading Tab (#9) characters to denote the Level for the tree node, followed by the Text for the node and an end-of-line sequence (#13#10).

-SaveToStream does not change the position in Stream prior to writing +SaveToStream does not change the position in Stream prior to writing node values. It assumes the stream position has been set in the calling routine. It does not reset the stream position when the method has been completed.