From 693a5935e7a56afe1378f06244e24ab91ad95727 Mon Sep 17 00:00:00 2001 From: dsiders Date: Fri, 4 Mar 2022 16:57:37 +0000 Subject: [PATCH] Docs: LCL/comctrls. Updates topics for TListColumn, TListColumns. (cherry picked from commit 1cbba9287251f6941701a6a6fb82cd7bf96120b2) --- docs/xml/lcl/comctrls.xml | 52 ++++++++++++++++++++++++++++++--------- 1 file changed, 41 insertions(+), 11 deletions(-) diff --git a/docs/xml/lcl/comctrls.xml b/docs/xml/lcl/comctrls.xml index e5511617ce..576928999c 100644 --- a/docs/xml/lcl/comctrls.xml +++ b/docs/xml/lcl/comctrls.xml @@ -7846,28 +7846,58 @@ - Allow to show this column. - + Indicates whether the column is visible on the associated list view control. + +

+ Visible is a Boolean property which indicates if the column is visible on the list view control where it is defined. The default value for the property is True. +

+

+ Changing the property value causes the item to updated in its collection, and any observers are notified of the change. The widgetset class instance is also notified when its handle has been allocated. +

+
- Current width of column. May be calculated auto, if AutoSize used. - - + Width for the column on a list view control. + +

+ Width is an Integer property with the width for the column on a list view control. Width is used along with MaxWidth and MinWidth to control the amount of space needed or available for the column. +

+

+ The property value is read from and written to the widgetset class instance when its handle is allocated. +

+

+ The default value for the property is 50 (pixels). If the property is changed, the value is normalized to the range indicated by MinWidth and MaxWidth (when assigned). Default values are not assigned for the MinWidth and MaxWidth properties. The collection which owns the column instance is updated, and the list view and any observers are notified when the column is modified. +

+

+ Set AutoSize to True to automatically resize the column to its content and the available space on the associated list view control. +

+
+ + + + +
- Sort indicator for the column. Reflects the sort direction for the list view control where the column is used. + Specifies the sort indicator displayed for the column. - - + +

+ Reflects the sort direction or order for the column on the associated list view control. +

+
+ + +
- - TListColumns - a collection of Items of type TListColumn (the columns appearing in a multi-column list). + A collection for TListColumn instances defined for a multi-column list view control. + @@ -7963,7 +7993,7 @@ - Add calls inherited method, then adjusts state flags. + Add calls the inherited method, then adjusts state flags.