From f22ac0f161921219b312fe1a89826473dfaa3d62 Mon Sep 17 00:00:00 2001 From: dsiders Date: Fri, 2 Sep 2022 02:32:32 +0100 Subject: [PATCH] Docs: LCL/checklst. Adds HeaderBackgroundColor and HeaderColor topics for TCheckListBox. Depends on cf2aa0649b. --- docs/xml/lcl/checklst.xml | 77 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 76 insertions(+), 1 deletion(-) diff --git a/docs/xml/lcl/checklst.xml b/docs/xml/lcl/checklst.xml index 733649adff..bca391a958 100644 --- a/docs/xml/lcl/checklst.xml +++ b/docs/xml/lcl/checklst.xml @@ -88,6 +88,8 @@ item is toggled. + + @@ -278,6 +280,11 @@ indicates a check box. + + + + + Sets the value for the indexed ItemEnabled property. @@ -606,7 +613,8 @@ changed. FontChanged calls the inherited method on entry. The value in TCustomCheckListBox. It calls the inherited Create method, and sets the component style flag for the control. It also calls the inherited GetCachedDataSize method to determine the storage size -needed for each cached item in the control. +needed for each cached item in the control. Create sets the default values +for the HeaderBackgroundColor and HeaderColor properties.

@@ -845,6 +853,71 @@ property. Otherwise, the cached item data for the control is updated. Ordinal position for the item affected in the method.
+ + +Color used to paint the background for Header items on the control. + + +

+HeaderBackgroundColor is a TColor property with the +color used to paint the background for a header item on the control. It is +used in the widgetset class when a header item is rendered on the control. +

+

+The default value for the property is clInfoBk. Changing the value for the +property causes the control to be redrawn. +

+

+Use HeaderColor to set the font color for header items on the control. +

+

+Use the public Header property to identify whether a value in Items is +displayed as a non-checkable entry in the list drawn using the colors in +HeaderBackgroundColor and HeaderColor. +

+
+ +Added in LCL version 2.4. + + + + + +
+ + + +Color used for the text on a Header item. + + +

+HeaderColor is a TColor property with the color for the +font used to render the text on a Header item. It is used in the widgetset +class when a header item is rendered on the control. +

+

+The default value for the property is clInfoText. Changing the value for the +property causes the control to be redrawn. +

+

+Use the HeaderBackgroundColor property to set the background color for a +header item on the control. +

+

+Use the public Header property to identify whether a value in Items is +displayed as a non-checkable entry in the list drawn using the colors in +HeaderBackgroundColor and HeaderColor. +

+
+ +Added in LCL version 2.4. + + + + + +
+ Provides indexed access to the enabled state for Items in the control. @@ -1084,6 +1157,8 @@ ancestor class. + +